Class CollectedClientData

java.lang.Object
com.yubico.webauthn.data.CollectedClientData

public final class CollectedClientData extends Object
The client data represents the contextual bindings of both the Relying Party and the client.
See Also:
  • Constructor Details

  • Method Details

    • getTokenBinding

      public final Optional<TokenBindingInfo> getTokenBinding()
      Information about the state of the Token Binding protocol used when communicating with the Relying Party. Its absence indicates that the client doesn't support token binding.
    • getChallenge

      @NonNull public @NonNull ByteArray getChallenge()
      The base64url encoding of the challenge provided by the Relying Party. See the §13.1 Cryptographic Challenges security consideration.
    • getOrigin

      @NonNull public @NonNull String getOrigin()
      The fully qualified origin of the requester, as provided to the authenticator by the client, in the syntax defined by RFC 6454.
    • getType

      @NonNull public @NonNull String getType()
      The type of the requested operation, set by the client.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object