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