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