Class BearerTokenErrorCodes

java.lang.Object
org.springframework.security.oauth2.server.resource.BearerTokenErrorCodes

public final class BearerTokenErrorCodes extends Object
Standard error codes defined by the OAuth 2.0 Authorization Framework: Bearer Token Usage.
Since:
5.1
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INVALID_REQUEST

      public static final String 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

      public static final String INVALID_TOKEN
      invalid_token - The access token provided is expired, revoked, malformed, or invalid for other reasons.
      See Also:
    • INSUFFICIENT_SCOPE

      public static final String INSUFFICIENT_SCOPE
      insufficient_scope - The request requires higher privileges than provided by the access token.
      See Also: