@Immutable public final class AccessTokenType extends Identifier
| Modifier and Type | Field and Description |
|---|---|
static AccessTokenType |
BEARER
Bearer, see OAuth 2.0 Bearer Token Usage (RFC 6750).
|
static AccessTokenType |
MAC
MAC, see OAuth 2.0 Message Authentication Code (MAC) Tokens
(draft-ietf-oauth-v2-http-mac-05).
|
static AccessTokenType |
UNKNOWN
Unknown.
|
DEFAULT_BYTE_LENGTH| Constructor and Description |
|---|
AccessTokenType(String value)
Creates a new access token type with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
compareTo, getValue, hashCode, toJSONString, toStringpublic static final AccessTokenType BEARER
public static final AccessTokenType MAC
public static final AccessTokenType UNKNOWN
public AccessTokenType(String value)
value - The access token type value. Must not be null
or empty string.public boolean equals(Object object)
equals in class IdentifierCopyright © 2017 Connect2id Ltd.. All rights reserved.