Enum Constant and Description |
---|
authorization_code
Deprecated.
Defined in 4.1 Authorization Code Grant.
|
client_credentials
Deprecated.
Defined in 4.4 Client Credentials Grant.
|
password
Deprecated.
Defined in 4.3 Resource Owner Password Credentials Grant.
|
refresh_token
Deprecated.
Defined in 6 Refreshing an Access Token.
|
Modifier and Type | Method and Description |
---|---|
static GrantType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static GrantType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrantType authorization_code
public static final GrantType client_credentials
public static final GrantType password
public static final GrantType refresh_token
public static GrantType[] values()
for (GrantType c : GrantType.values()) System.out.println(c);
public static GrantType 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 nullCopyright © 2005-2020 Restlet.