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