public static enum InfluxDBClientOptions.AuthScheme extends Enum<InfluxDBClientOptions.AuthScheme>
Enum Constant and Description |
---|
SESSION
Basic auth.
|
TOKEN
Authentication token.
|
Modifier and Type | Method and Description |
---|---|
static InfluxDBClientOptions.AuthScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfluxDBClientOptions.AuthScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfluxDBClientOptions.AuthScheme SESSION
public static final InfluxDBClientOptions.AuthScheme TOKEN
public static InfluxDBClientOptions.AuthScheme[] values()
for (InfluxDBClientOptions.AuthScheme c : InfluxDBClientOptions.AuthScheme.values()) System.out.println(c);
public static InfluxDBClientOptions.AuthScheme 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 nullCopyright © 2018–2023 InfluxData, Inc.. All rights reserved.