Class AccessTokenType

java.lang.Object
com.nimbusds.oauth2.sdk.id.Identifier
com.nimbusds.oauth2.sdk.token.AccessTokenType
All Implemented Interfaces:
Serializable, Comparable<Identifier>, net.minidev.json.JSONAware

@Immutable public final class AccessTokenType extends Identifier
Access token type.
See Also:
  • Field Details

    • BEARER

      public static final AccessTokenType BEARER
      Bearer, see OAuth 2.0 Bearer Token Usage (RFC 6750).
    • DPOP

      public static final AccessTokenType DPOP
      DPoP, see OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer (DPoP) (RFC 9449).
    • MAC

      public static final AccessTokenType MAC
      MAC, see OAuth 2.0 Message Authentication Code (MAC) Tokens (draft-ietf-oauth-v2-http-mac-05).
    • UNKNOWN

      public static final AccessTokenType UNKNOWN
      Unknown.
    • N_A

      public static final AccessTokenType N_A
      Not applicable (N/A), see OAuth 2.0 Token Exchange (RFC 8693).
  • Constructor Details

    • AccessTokenType

      public AccessTokenType(String value)
      Creates a new access token type with the specified value.
      Parameters:
      value - The access token type value. Must not be null or empty string.
  • Method Details