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

    Modifier and Type
    Method
    Description
    @Nullable State
    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 Details

    • getState

      @Nullable @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.