class OAuthServerException extends HttpResponseException

Traits

Methods

__construct(OAuthServerException $e)

Create a new OAuthServerException.

Response
getResponse()

Get the underlying response instance.

Response
convertResponse(ResponseInterface $psrResponse)

Convert a PSR-7 response to a Symfony response.

loginRequired(AuthorizationRequestInterface $authRequest)

Create a new OAuthServerException for when login is required.

consentRequired(AuthorizationRequestInterface $authRequest)

Create a new OAuthServerException for when consent is required.

Details

at line 21
__construct(OAuthServerException $e)

Create a new OAuthServerException.

Parameters

OAuthServerException $e

Response getResponse()

Get the underlying response instance.

Return Value

Response

Response convertResponse(ResponseInterface $psrResponse)

Convert a PSR-7 response to a Symfony response.

Parameters

ResponseInterface $psrResponse

Return Value

Response

at line 31
static OAuthServerException loginRequired(AuthorizationRequestInterface $authRequest)

Create a new OAuthServerException for when login is required.

Parameters

AuthorizationRequestInterface $authRequest

Return Value

OAuthServerException

at line 53
static OAuthServerException consentRequired(AuthorizationRequestInterface $authRequest)

Create a new OAuthServerException for when consent is required.

Parameters

AuthorizationRequestInterface $authRequest

Return Value

OAuthServerException