Class UserVerificationRequirement

java.lang.Object
com.webauthn4j.data.UserVerificationRequirement

public class UserVerificationRequirement extends Object
A WebAuthn Relying Party may require user verification for some of its operations but not for others, and may use this type to express its needs.
See Also:
  • Field Details

    • REQUIRED

      public static final UserVerificationRequirement 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.
    • PREFERRED

      public static final UserVerificationRequirement 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.
    • DISCOURAGED

      public static final UserVerificationRequirement 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).
  • Method Details