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