['implicit', 'password', 'authorizationCode', 'clientCredentials'], 'refreshUrl' => 'string', 'authorizationUrl' => 'string', 'tokenUrl' => 'string', ]; /** * @inheritdoc */ public static $_parents = [ SecurityScheme::class, ]; /** * @inheritdoc */ public static $_nested = [ Attachable::class => ['attachables'], ]; public function jsonSerialize(): \stdClass { if ($this->scopes === []) { $this->scopes = new \stdClass(); } return parent::jsonSerialize(); } }