Package com.nimbusds.oauth2.sdk.token
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
Access token type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AccessTokenTypeBearer, see OAuth 2.0 Bearer Token Usage (RFC 6750).static final AccessTokenTypeDPoP, see OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer (DPoP) (RFC 9449).static final AccessTokenTypeMAC, see OAuth 2.0 Message Authentication Code (MAC) Tokens (draft-ietf-oauth-v2-http-mac-05).static final AccessTokenTypeNot applicable (N/A), see OAuth 2.0 Token Exchange (RFC 8693).static final AccessTokenTypeUnknown.Fields inherited from class com.nimbusds.oauth2.sdk.id.Identifier
DEFAULT_BYTE_LENGTH, secureRandom -
Constructor Summary
ConstructorsConstructorDescriptionAccessTokenType(String value) Creates a new access token type with the specified value. -
Method Summary
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier
compareTo, getValue, hashCode, toJSONString, toString, toStringList
-
Field Details
-
BEARER
Bearer, see OAuth 2.0 Bearer Token Usage (RFC 6750). -
DPOP
DPoP, see OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer (DPoP) (RFC 9449). -
MAC
MAC, see OAuth 2.0 Message Authentication Code (MAC) Tokens (draft-ietf-oauth-v2-http-mac-05). -
UNKNOWN
Unknown. -
N_A
Not applicable (N/A), see OAuth 2.0 Token Exchange (RFC 8693).
-
-
Constructor Details
-
AccessTokenType
Creates a new access token type with the specified value.- Parameters:
value- The access token type value. Must not benullor empty string.
-
-
Method Details
-
equals
- Overrides:
equalsin classIdentifier
-