public enum OAuth2Version extends java.lang.Enum<OAuth2Version>
| Enum Constant and Description |
|---|
BEARER |
BEARER_DRAFT_2 |
DRAFT_10 |
DRAFT_8 |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getAuthorizationHeaderValue(java.lang.String accessToken) |
static OAuth2Version |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2Version BEARER
public static final OAuth2Version BEARER_DRAFT_2
public static final OAuth2Version DRAFT_10
public static final OAuth2Version DRAFT_8
public static OAuth2Version[] values()
for (OAuth2Version c : OAuth2Version.values()) System.out.println(c);
public static OAuth2Version valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract java.lang.String getAuthorizationHeaderValue(java.lang.String accessToken)