|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nimbusds.oauth2.sdk.id.Identifier com.nimbusds.oauth2.sdk.token.AccessTokenType
@Immutable public final class AccessTokenType
Access token type. This class is immutable.
Field Summary | |
---|---|
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-02). |
static AccessTokenType |
UNKNOWN
Unknown. |
Constructor Summary | |
---|---|
AccessTokenType(String value)
Creates a new access token type with the specified value. |
Method Summary | |
---|---|
boolean |
equals(Object object)
Overrides Object.equals() . |
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier |
---|
getValue, hashCode, toJSONString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AccessTokenType BEARER
public static final AccessTokenType MAC
public static final AccessTokenType UNKNOWN
Constructor Detail |
---|
public AccessTokenType(String value)
value
- The access token type value. Must not be null
or empty string.Method Detail |
---|
public boolean equals(Object object)
Identifier
Object.equals()
.
equals
in class Identifier
object
- The object to compare to.
true
if the objects have the same value, otherwise
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |