public enum UserVerificationRequirement extends java.lang.Enum<UserVerificationRequirement>
| 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 UV flag set.
|
REQUIRED
This value indicates that the Relying Party requires user verification for the operation and
will fail the operation if the response does not have the UV flag set.
|
| Modifier and Type | Method and Description |
|---|---|
static UserVerificationRequirement |
create(java.lang.String value) |
java.lang.String |
getValue() |
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 REQUIRED
public static final UserVerificationRequirement PREFERRED
public static final UserVerificationRequirement DISCOURAGED
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 static UserVerificationRequirement create(java.lang.String value)
public java.lang.String getValue()