public enum OAuth2Version extends Enum<OAuth2Version>
Enum Constant and Description |
---|
BEARER |
BEARER_DRAFT_2 |
DRAFT_10 |
DRAFT_8 |
Modifier and Type | Method and Description |
---|---|
abstract String |
getAuthorizationHeaderValue(String accessToken) |
static OAuth2Version |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null