for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Aweapi\Openapi\Objects\SecurityScheme;
use Aweapi\Openapi\Extensions;
use Aweapi\Openapi\Objects\SecurityScheme;
final class OpenIdConnectSecurityScheme extends SecurityScheme
{
private $openIdConnectUrl;
public function __construct(
string $openIdConnectUrl,
string $description = null,
Extensions $extensions = null
) {
parent::__construct(
SecurityScheme::TYPE_OPEN_ID_CONNECT,
$description,
$extensions
);
$this->openIdConnectUrl = $openIdConnectUrl;
}
public function getOpenIdConnectUrl(): string
return $this->openIdConnectUrl;
protected function normalizeRequiredSchemeProperties(): array
return [
'openIdConnectUrl' => $this->getOpenIdConnectUrl(),
];