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 OAuthFlows
{
private $implicit;
private $password;
private $clientCredentials;
private $authorizationCode;
public function __construct(OAuthFlow $implicit = null, OAuthFlow $password = null, OAuthFlow $clientCredentials = null, OAuthFlow $authorizationCode = null)
$this->implicit = $implicit;
$this->password = $password;
$this->clientCredentials = $clientCredentials;
$this->authorizationCode = $authorizationCode;
}
public function getImplicit()
return $this->implicit;
public function getPassword()
return $this->password;
public function getClientCredentials()
return $this->clientCredentials;
public function getAuthorizationCode()
return $this->authorizationCode;