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