public enum AppGrantType extends Enum<AppGrantType>
| Enum Constant and Description |
|---|
AUTHORIZATION_CODE |
CLIENT_CREDENTIALS |
IMPLICIT |
PASSWORD |
REFRESH_TOKEN |
| Modifier and Type | Method and Description |
|---|---|
static AppGrantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppGrantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppGrantType PASSWORD
public static final AppGrantType AUTHORIZATION_CODE
public static final AppGrantType REFRESH_TOKEN
public static final AppGrantType IMPLICIT
public static final AppGrantType CLIENT_CREDENTIALS
public static AppGrantType[] values()
for (AppGrantType c : AppGrantType.values()) System.out.println(c);
public static AppGrantType 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 nullCopyright © 2017 Pivotal Software, Inc.. All rights reserved.