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
-
Method Summary
Modifier and TypeMethodDescription@NonNull TokenError
getError()
@Nullable String
@Nullable String
void
setError
(TokenError error) void
setErrorDescription
(String errorDescription) void
setErrorUri
(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
-