Interface BearerTokenErrorCodes


  • public interface BearerTokenErrorCodes
    Standard error codes defined by the OAuth 2.0 Authorization Framework: Bearer Token Usage.
    Since:
    5.1
    See Also:
    RFC 6750 Section 3.1: Error Codes
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String INSUFFICIENT_SCOPE
      insufficient_scope - The request requires higher privileges than provided by the access token.
      static java.lang.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.
      static java.lang.String INVALID_TOKEN
      invalid_token - The access token provided is expired, revoked, malformed, or invalid for other reasons.
    • Field Detail

      • INVALID_REQUEST

        static final java.lang.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:
        Constant Field Values
      • INVALID_TOKEN

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

        static final java.lang.String INSUFFICIENT_SCOPE
        insufficient_scope - The request requires higher privileges than provided by the access token.
        See Also:
        Constant Field Values