Class CollectedClientData

java.lang.Object
com.webauthn4j.data.client.CollectedClientData

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

    • CollectedClientData

      public CollectedClientData(@NotNull @NotNull ClientDataType type, @NotNull @NotNull Challenge challenge, @NotNull @NotNull Origin origin, @Nullable @Nullable Boolean crossOrigin, @Nullable @Nullable TokenBinding tokenBinding)
    • CollectedClientData

      public CollectedClientData(@NotNull @NotNull ClientDataType type, @NotNull @NotNull Challenge challenge, @NotNull @NotNull Origin origin, @Nullable @Nullable TokenBinding tokenBinding)
  • Method Details

    • getType

      @NotNull public @NotNull ClientDataType getType()
    • getChallenge

      @NotNull public @NotNull Challenge getChallenge()
    • getOrigin

      @NotNull public @NotNull Origin getOrigin()
    • getCrossOrigin

      @NotNull public @NotNull Boolean getCrossOrigin()
    • getTokenBinding

      @Nullable public @Nullable TokenBinding getTokenBinding()
    • equals

      public boolean equals(@Nullable @Nullable 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