Class TokenErrorResponse
java.lang.Object
io.micronaut.security.oauth2.endpoint.token.response.TokenErrorResponse
Represent the response of an authorization server to an invalid access token request.
- Since:
- 1.2.0
- Author:
- James Kleeh
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@NonNull TokenErrorgetError()@Nullable String@Nullable StringvoidsetError(TokenError error) voidsetErrorDescription(String errorDescription) voidsetErrorUri(String errorUri) toString()
- 
Constructor Details- 
TokenErrorResponsepublic TokenErrorResponse()
 
- 
- 
Method Details- 
getError- Returns:
- The error code
 
- 
setError- Parameters:
- error- The error code
 
- 
getErrorDescription- Returns:
- The error description
 
- 
setErrorDescription- Parameters:
- errorDescription- The error description
 
- 
getErrorUri- Returns:
- The error uri
 
- 
setErrorUri- Parameters:
- errorUri- The error uri
 
- 
toString
 
-