public enum TdbApiKeyMode extends java.lang.Enum<TdbApiKeyMode>
Enum Constant and Description |
---|
Always
An API key is required for the creation and refresh of tokens as
well as for token based login.
|
No
API keys are not required.
|
Refresh
An API key is only required for the refresh of a token pair.
|
Tokens
An API key is required for the creation and refresh of tokens,
but not for token based login.
|
Modifier and Type | Method and Description |
---|---|
static TdbApiKeyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbApiKeyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TdbApiKeyMode Always
public static final TdbApiKeyMode Tokens
public static final TdbApiKeyMode Refresh
public static final TdbApiKeyMode No
public static TdbApiKeyMode[] values()
for (TdbApiKeyMode c : TdbApiKeyMode.values()) System.out.println(c);
public static TdbApiKeyMode 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 null