Interface AuthorizationErrorResponse

  • All Superinterfaces:
    io.micronaut.security.errors.ErrorResponse
    All Known Implementing Classes:
    DefaultAuthorizationErrorResponse

    public interface AuthorizationErrorResponse
    extends io.micronaut.security.errors.ErrorResponse
    Open ID Connect Authentication Error Response.
    Since:
    1.2.0
    See Also:
    Authentication Error Response
    • Field Summary

      • Fields inherited from interface io.micronaut.security.errors.ErrorResponse

        JSON_KEY_ERROR, JSON_KEY_ERROR_DESCRIPTION, JSON_KEY_ERROR_URI, JSON_KEY_STATE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      State getState()
      Although the state is required if the Authorization Request included the state parameter.
      • Methods inherited from interface io.micronaut.security.errors.ErrorResponse

        getError, getErrorDescription, getErrorUri
    • Method Detail

      • getState

        @Nullable
        State getState()
        Although the state is required if the Authorization Request included the state parameter. it is set to nullable because it is possible to send authorization requests without including a state.
        Returns:
        OAuth 2.0 state value.