public static enum OAuth2Authentication.AccessTokenType extends java.lang.Enum<OAuth2Authentication.AccessTokenType>
Enum Constant and Description |
---|
BEARER |
CUSTOM_HEADER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static OAuth2Authentication.AccessTokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2Authentication.AccessTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2Authentication.AccessTokenType BEARER
public static final OAuth2Authentication.AccessTokenType CUSTOM_HEADER
public static OAuth2Authentication.AccessTokenType[] values()
for (OAuth2Authentication.AccessTokenType c : OAuth2Authentication.AccessTokenType.values()) System.out.println(c);
public static OAuth2Authentication.AccessTokenType 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 java.lang.String toString()
toString
in class java.lang.Enum<OAuth2Authentication.AccessTokenType>