Example usage for Java org.springframework.security.oauth2.common.exceptions OAuth2Exception fields, constructors, methods, implement or subclass
The text is from its open source code.
String | INVALID_REQUEST |
String | INVALID_CLIENT |
String | INVALID_GRANT |
String | UNAUTHORIZED_CLIENT |
String | UNSUPPORTED_GRANT_TYPE |
String | INVALID_SCOPE |
String | INVALID_TOKEN |
String | ACCESS_DENIED |
void | addAdditionalInformation(String key, String value) Add some additional information with this OAuth error. |
OAuth2Exception | create(String errorCode, String errorMessage) Creates the appropriate subclass of OAuth2Exception given the errorCode. |
Map | getAdditionalInformation() Get any additional information associated with this error. |
Class> | getClass() Returns the runtime class of this Object . |
int | getHttpErrorCode() The HTTP error code associated with this error. |
String | getMessage() Returns the detail message string of this throwable. |
String | getOAuth2ErrorCode() The OAuth2 error code. |
String | getSummary() |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |
OAuth2Exception | valueOf(Map Creates an OAuth2Exception from a Map<String,String>. |