Class AuthorizationErrorResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.micronaut.security.oauth2.endpoint.authorization.response.AuthorizationErrorResponseException
-
- All Implemented Interfaces:
java.io.Serializable
public class AuthorizationErrorResponseException extends java.lang.RuntimeException
A runtime exception thrown when a Oauth 2. Error code is received from the authorization endpoint.- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorizationErrorResponseException(AuthorizationErrorResponse error)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationErrorResponse
getAuthorizationErrorResponse()
-
-
-
Constructor Detail
-
AuthorizationErrorResponseException
public AuthorizationErrorResponseException(AuthorizationErrorResponse error)
Constructor.- Parameters:
error
- OAuth 2.0 Authentication Error Response.
-
-
Method Detail
-
getAuthorizationErrorResponse
public AuthorizationErrorResponse getAuthorizationErrorResponse()
- Returns:
- Authentication Error Response.
-
-