public enum PostOAuth2TokenGrantTypeField extends Enum<PostOAuth2TokenGrantTypeField> implements Valuable
| Modifier and Type | Class and Description |
|---|---|
static class |
PostOAuth2TokenGrantTypeField.PostOAuth2TokenGrantTypeFieldDeserializer |
static class |
PostOAuth2TokenGrantTypeField.PostOAuth2TokenGrantTypeFieldSerializer |
| Enum Constant and Description |
|---|
AUTHORIZATION_CODE |
CLIENT_CREDENTIALS |
REFRESH_TOKEN |
URN_IETF_PARAMS_OAUTH_GRANT_TYPE_JWT_BEARER |
URN_IETF_PARAMS_OAUTH_GRANT_TYPE_TOKEN_EXCHANGE |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static PostOAuth2TokenGrantTypeField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostOAuth2TokenGrantTypeField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostOAuth2TokenGrantTypeField AUTHORIZATION_CODE
public static final PostOAuth2TokenGrantTypeField REFRESH_TOKEN
public static final PostOAuth2TokenGrantTypeField CLIENT_CREDENTIALS
public static final PostOAuth2TokenGrantTypeField URN_IETF_PARAMS_OAUTH_GRANT_TYPE_JWT_BEARER
public static final PostOAuth2TokenGrantTypeField URN_IETF_PARAMS_OAUTH_GRANT_TYPE_TOKEN_EXCHANGE
public static PostOAuth2TokenGrantTypeField[] values()
for (PostOAuth2TokenGrantTypeField c : PostOAuth2TokenGrantTypeField.values()) System.out.println(c);
public static PostOAuth2TokenGrantTypeField 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