public final class OAuth2TokenType
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static OAuth2TokenType |
ACCESS_TOKEN |
static OAuth2TokenType |
REFRESH_TOKEN |
| Constructor and Description |
|---|
OAuth2TokenType(java.lang.String value)
Constructs an
OAuth2TokenType 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 type.
|
int |
hashCode() |
public static final OAuth2TokenType ACCESS_TOKEN
public static final OAuth2TokenType REFRESH_TOKEN
public OAuth2TokenType(java.lang.String value)
OAuth2TokenType using the provided value.value - the value of the token typepublic 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