Enum Class TokenBindingStatus

java.lang.Object
java.lang.Enum<TokenBindingStatus>
com.yubico.webauthn.data.TokenBindingStatus
All Implemented Interfaces:
Serializable, Comparable<TokenBindingStatus>, Constable

public enum TokenBindingStatus extends Enum<TokenBindingStatus>
Indicators of whether a TokenBindingInfo's id member is present and, if not, whether the client supports token binding.
See Also:
  • Enum Constant Details

    • PRESENT

      public static final TokenBindingStatus PRESENT
      Indicates token binding was used when communicating with the Relying Party. In this case, the TokenBindingInfo.getId() member MUST be present.
    • SUPPORTED

      public static final TokenBindingStatus SUPPORTED
      Indicates the client supports token binding, but it was not negotiated when communicating with the Relying Party.
  • Method Details

    • values

      public static TokenBindingStatus[] 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 TokenBindingStatus 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
    • getValue

      @NonNull public @NonNull String getValue()