public enum OAuthGrantType extends java.lang.Enum<OAuthGrantType>
| Enum Constant and Description |
|---|
AUTHORIZATION_CODE |
CLIENT_CREDENTIALS |
IMPLICIT |
PASSWORD |
REFRESH_TOKEN |
SDK_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static OAuthGrantType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<OAuthGrantType>Copyright © 2017-2021 Okta. All Rights Reserved.