public enum UserVerificationRequirement extends java.lang.Enum<UserVerificationRequirement> implements com.yubico.internal.util.json.JsonStringSerializable
Enum Constant and Description |
---|
DISCOURAGED
This value indicates that the Relying Party does not want user verification employed during the operation (e.g.,
in the interest of minimizing disruption to the user interaction flow).
|
PREFERRED
This value indicates that the Relying Party prefers user verification for the operation if possible, but will not
fail the operation if the response does not have the
AuthenticatorDataFlags.UV flag set. |
REQUIRED
Indicates that the Relying Party requires user verification for the operation and will fail the operation if the
response does not have the
AuthenticatorDataFlags.UV flag set. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toJsonString() |
static UserVerificationRequirement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserVerificationRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserVerificationRequirement DISCOURAGED
public static final UserVerificationRequirement PREFERRED
AuthenticatorDataFlags.UV
flag set.public static final UserVerificationRequirement REQUIRED
AuthenticatorDataFlags.UV
flag set.public static UserVerificationRequirement[] values()
for (UserVerificationRequirement c : UserVerificationRequirement.values()) System.out.println(c);
public static UserVerificationRequirement 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 nullpublic java.lang.String toJsonString()
toJsonString
in interface com.yubico.internal.util.json.JsonStringSerializable