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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull TokenErrorgetError()@Nullable String@Nullable StringvoidsetError(TokenError error) voidsetErrorDescription(String errorDescription) voidsetErrorUri(String errorUri) toString()
-
Constructor Details
-
TokenErrorResponse
public 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
-