public enum ResidentKeyRequirement extends java.lang.Enum<ResidentKeyRequirement>
| Enum Constant and Description |
|---|
DISCOURAGED
The client and authenticator will try to create a server-side credential if possible, and a
discoverable credential otherwise.
|
PREFERRED
The client and authenticator will try to create a discoverable credential if possible, and a
server-side credential otherwise.
|
REQUIRED
The client and authenticator will try to create a discoverable credential, and fail the
registration if that is not possible.
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull java.lang.String |
getValue() |
static ResidentKeyRequirement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResidentKeyRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResidentKeyRequirement DISCOURAGED
public static final ResidentKeyRequirement PREFERRED
public static final ResidentKeyRequirement REQUIRED
public static ResidentKeyRequirement[] values()
for (ResidentKeyRequirement c : ResidentKeyRequirement.values()) System.out.println(c);
public static ResidentKeyRequirement 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@NonNull public @NonNull java.lang.String getValue()