Class BearerTokenErrorCodes
java.lang.Object
org.springframework.security.oauth2.server.resource.BearerTokenErrorCodes
Standard error codes defined by the OAuth 2.0 Authorization Framework: Bearer Token
Usage.
- Since:
- 5.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
insufficient_scope
- The request requires higher privileges than provided by the access token.static final String
invalid_request
- The request is missing a required parameter, includes an unsupported parameter or parameter value, repeats the same parameter, uses more than one method for including an access token, or is otherwise malformed.static final String
invalid_token
- The access token provided is expired, revoked, malformed, or invalid for other reasons. -
Method Summary
-
Field Details
-
INVALID_REQUEST
invalid_request
- The request is missing a required parameter, includes an unsupported parameter or parameter value, repeats the same parameter, uses more than one method for including an access token, or is otherwise malformed.- See Also:
-
INVALID_TOKEN
invalid_token
- The access token provided is expired, revoked, malformed, or invalid for other reasons.- See Also:
-
INSUFFICIENT_SCOPE
insufficient_scope
- The request requires higher privileges than provided by the access token.- See Also:
-