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:
Serializable

public class AuthorizationErrorResponseException extends 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:
  • Constructor Details

    • AuthorizationErrorResponseException

      public AuthorizationErrorResponseException(AuthorizationErrorResponse error)
      Constructor.
      Parameters:
      error - OAuth 2.0 Authentication Error Response.
  • Method Details

    • getAuthorizationErrorResponse

      public AuthorizationErrorResponse getAuthorizationErrorResponse()
      Returns:
      Authentication Error Response.