public static enum Oauth2Service.GrantType extends Enum<Oauth2Service.GrantType>
| Enum Constant and Description |
|---|
AUTHORIZATION_CODE |
REFRESH_TOKEN |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Oauth2Service.GrantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Oauth2Service.GrantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Oauth2Service.GrantType AUTHORIZATION_CODE
public static final Oauth2Service.GrantType REFRESH_TOKEN
public static Oauth2Service.GrantType[] values()
for (Oauth2Service.GrantType c : Oauth2Service.GrantType.values()) System.out.println(c);
public static Oauth2Service.GrantType 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 nullpublic String toString()
toString in class Enum<Oauth2Service.GrantType>Copyright © 2020. All rights reserved.