Package io.micronaut.security.errors
Interface ErrorResponse
- All Known Subinterfaces:
AuthorizationErrorResponse
- All Known Implementing Classes:
DefaultAuthorizationErrorResponse
,OauthErrorResponseException
public interface ErrorResponse
OAuth 2.0 Error Response.
- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
-
Field Details
-
JSON_KEY_ERROR
- See Also:
-
JSON_KEY_STATE
- See Also:
-
JSON_KEY_ERROR_DESCRIPTION
- See Also:
-
JSON_KEY_ERROR_URI
- See Also:
-
-
Method Details
-
getError
- Returns:
- The error code
-
getErrorDescription
- Returns:
- Human-readable ASCII [USASCII] text providing additional information, used to assist the client developer in understanding the errorCode that occurred.
-
getErrorUri
- Returns:
- URI identifying a human-readable web page with information about the errorCode
-