public final class OAuth2Error
extends java.lang.Object
At a minimum, an error response will contain an error code. The error code may be one of the standard codes defined by the specification, or a new code defined in the OAuth Extensions Error Registry, for cases where protocol extensions require additional error code(s) above the standard codes.
Constructor and Description |
---|
OAuth2Error(java.lang.String errorCode) |
OAuth2Error(java.lang.String errorCode,
java.lang.String description,
java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getErrorCode() |
java.lang.String |
getUri() |
java.lang.String |
toString() |