AuthorizationRequestResolver
class AuthorizationRequestResolver
Methods
Create the authorization request resolver.
Validate a browser authorization and render early errors only to a trusted callback.
Validate protocol input without selecting a browser error transport.
Recover a safe error destination when League rejects before returning an authorization.
Revalidate a saved presentation using the current client and server configuration.
Details
at line 21
__construct(ServerFactory $servers, ClientRepository $clients, AuthorizationResponse $responses, ResourceRepository $resources, Repository $config)
Create the authorization request resolver.
at line 33
AuthorizationRequestInterface
validate(ServerRequestInterface $request)
Validate a browser authorization and render early errors only to a trusted callback.
at line 52
AuthorizationRequestInterface
validateAuthorizationRequest(ServerRequestInterface $request, array|null $scopes = null, bool $pushed = false)
Validate protocol input without selecting a browser error transport.
Saved requests pass their frozen scope IDs; null applies the fresh-request default intersection. Pass $pushed only for an authenticated PAR submission or a consumed pushed request, since it satisfies the client's PAR requirement.
at line 125
Response
error(OAuthServerException $exception, array $parameters)
Recover a safe error destination when League rejects before returning an authorization.
at line 156
AuthorizationRequestInterface
resolve(array $pending, ServerRequestInterface $request)
Revalidate a saved presentation using the current client and server configuration.