Class TokenErrorResponse
- java.lang.Object
-
- io.micronaut.security.oauth2.endpoint.token.response.TokenErrorResponse
-
@Introspected public class TokenErrorResponse extends java.lang.Object
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 Constructor Description TokenErrorResponse()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenError
getError()
java.lang.String
getErrorDescription()
java.lang.String
getErrorUri()
void
setError(TokenError error)
void
setErrorDescription(java.lang.String errorDescription)
void
setErrorUri(java.lang.String errorUri)
java.lang.String
toString()
-
-
-
-
Method Detail
-
getError
@Nonnull public TokenError getError()
- Returns:
- The error code
-
setError
public void setError(TokenError error)
- Parameters:
error
- The error code
-
getErrorDescription
@Nullable public java.lang.String getErrorDescription()
- Returns:
- The error description
-
setErrorDescription
public void setErrorDescription(java.lang.String errorDescription)
- Parameters:
errorDescription
- The error description
-
getErrorUri
@Nullable public java.lang.String getErrorUri()
- Returns:
- The error uri
-
setErrorUri
public void setErrorUri(java.lang.String errorUri)
- Parameters:
errorUri
- The error uri
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-