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