AuthorizationResponse
class AuthorizationResponse
Methods
Response
success(Response $response, string $redirectUri, string|null $state, string $mode)
Render an issued code without generating or encrypting it again.
Response
error(OAuthServerException $exception, string|null $redirectUri, string|null $state, string $mode)
Render a protocol error locally or to an already validated callback.
Response
render(string $redirectUri, array $parameters, string $mode, array $headers = [])
Send protocol fields through the selected authorization response mode.
Details
at line 18
__construct(ServerFactory $servers)
Create the authorization response renderer.
at line 25
Response
success(Response $response, string $redirectUri, string|null $state, string $mode)
Render an issued code without generating or encrypting it again.
at line 39
Response
error(OAuthServerException $exception, string|null $redirectUri, string|null $state, string $mode)
Render a protocol error locally or to an already validated callback.
at line 58
protected Response
render(string $redirectUri, array $parameters, string $mode, array $headers = [])
Send protocol fields through the selected authorization response mode.