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