for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Core\OpenApi;
class OAuthFlow
{
private $authorizationUrl;
private $tokenUrl;
private $refreshUrl;
private $scopes;
public function __construct(string $authorizationUrl = null, string $tokenUrl = null, string $refreshUrl = null, array $scopes = [])
$this->authorizationUrl = $authorizationUrl;
$this->tokenUrl = $tokenUrl;
$this->refreshUrl = $refreshUrl;
$this->scopes = $scopes;
}
public function getAuthorizationUrl()
return $this->authorizationUrl;
public function getTokenUrl()
return $this->tokenUrl;
public function getRefreshUrl()
return $this->refreshUrl;
public function getScopes()
return $this->scopes;