Enum Class UserVerificationMethod

java.lang.Object
java.lang.Enum<UserVerificationMethod>
com.yubico.webauthn.extension.uvm.UserVerificationMethod
All Implemented Interfaces:
Serializable, Comparable<UserVerificationMethod>, Constable

public enum UserVerificationMethod extends Enum<UserVerificationMethod>
The USER_VERIFY constants are flags in a bitfield represented as a 32 bit long integer. They describe the methods and capabilities of a FIDO authenticator for locally verifying a user. The operational details of these methods are opaque to the server. These constants are used in the authoritative metadata for FIDO authenticators, reported and queried through the UAF Discovery APIs, and used to form authenticator policies in UAF protocol messages. Each constant has a case-sensitive string representation (in quotes), which is used in the authoritative metadata for FIDO authenticators.
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static UserVerificationMethod[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UserVerificationMethod valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromValue

      public static UserVerificationMethod fromValue(int value)
      Returns:
      If value matches any UserVerificationMethod constant, returns that constant instance. Otherwise throws IllegalArgumentException.
    • fromName

      public static UserVerificationMethod fromName(String name)
      Returns:
      If name matches any UserVerificationMethod constant, returns that constant instance. Otherwise throws IllegalArgumentException.
    • getValue

      public int getValue()
    • getName

      public String getName()