public final class OAuth2TokenFormat
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static OAuth2TokenFormat |
REFERENCE
Reference (opaque) tokens are unique identifiers that serve as a reference
to the token metadata and claims of the user and/or client, stored at the provider.
|
static OAuth2TokenFormat |
SELF_CONTAINED
Self-contained tokens use a protected, time-limited data structure that contains token metadata
and claims of the user and/or client.
|
| Constructor and Description |
|---|
OAuth2TokenFormat(java.lang.String value)
Constructs an
OAuth2TokenFormat using the provided value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getValue()
Returns the value of the token format.
|
int |
hashCode() |
public static final OAuth2TokenFormat SELF_CONTAINED
public static final OAuth2TokenFormat REFERENCE
public OAuth2TokenFormat(java.lang.String value)
OAuth2TokenFormat using the provided value.value - the value of the token formatpublic java.lang.String getValue()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object