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 SecurityScheme
{
private $type;
private $description;
private $name;
private $in;
private $scheme;
private $bearerFormat;
private $flows;
private $openIdConnectUrl;
public function __construct(string $type = null, string $description = '', string $name = null, string $in = null, string $scheme = null, string $bearerFormat = null, OAuthFlows $flows = null, string $openIdConnectUrl = null)
$this->type = $type;
$this->description = $description;
$this->name = $name;
$this->in = $in;
$this->scheme = $scheme;
$this->bearerFormat = $bearerFormat;
$this->flows = $flows;
$this->openIdConnectUrl = $openIdConnectUrl;
}
public function getType()
return $this->type;
public function getDescription()
return $this->description;
public function getName()
return $this->name;
public function getIn()
return $this->in;
public function getScheme()
return $this->scheme;
public function getBearerFormat()
return $this->bearerFormat;
public function getFlows()
return $this->flows;
public function getOpenIdConnectUrl()
return $this->openIdConnectUrl;