ClientMetadataValidator
class ClientMetadataValidator
Methods
__construct(Factory $validation, Dispatcher $events, Repository $config, ServerFactory $servers, ClientKeyRepository $keys, HttpsDestinationPolicy $destinations)
Create the validator shared by registration and application management.
array
validate(array $metadata, Client|null $client = null, AccessToken|null $token = null)
Validate a complete metadata document without granting provisioning authority.
void
validateRedirectUri(string $uri, string $applicationType)
Validate web and native callback addresses without fetching them.
array
validateKeys(array $metadata)
Validate declared public keys and the authentication algorithm.
Details
at line 26
__construct(Factory $validation, Dispatcher $events, Repository $config, ServerFactory $servers, ClientKeyRepository $keys, HttpsDestinationPolicy $destinations)
Create the validator shared by registration and application management.
at line 42
array
validate(array $metadata, Client|null $client = null, AccessToken|null $token = null)
Validate a complete metadata document without granting provisioning authority.
at line 147
void
validateRedirectUri(string $uri, string $applicationType)
Validate web and native callback addresses without fetching them.
at line 185
protected array
validateKeys(array $metadata)
Validate declared public keys and the authentication algorithm.