Class TokenErrorResponse
- java.lang.Object
-
- io.micronaut.security.oauth2.endpoint.token.response.TokenErrorResponse
-
@Introspected public class TokenErrorResponse extends java.lang.ObjectRepresent 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 TokenErrorgetError()java.lang.StringgetErrorDescription()java.lang.StringgetErrorUri()voidsetError(TokenError error)voidsetErrorDescription(java.lang.String errorDescription)voidsetErrorUri(java.lang.String errorUri)java.lang.StringtoString()
-
-
-
-
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:
toStringin classjava.lang.Object
-
-