Class PublicKeyCredential<R extends AuthenticatorResponse,E extends ExtensionClientOutput>

java.lang.Object
com.webauthn4j.data.PublicKeyCredential<R,E>

public class PublicKeyCredential<R extends AuthenticatorResponse,E extends ExtensionClientOutput> extends Object
The PublicKeyCredential interface contains the attributes that are returned to the caller when a new credential is created, or a new assertion is requested.
See Also:
  • Constructor Details

  • Method Details

    • getType

      @NotNull public @NotNull String getType()
    • getId

      @Nullable public @Nullable String getId()
    • getRawId

      @Nullable public @org.jetbrains.annotations.Nullable byte[] getRawId()
    • getResponse

      @Nullable public R getResponse()
    • getAuthenticatorAttachment

      @Nullable public @Nullable AuthenticatorAttachment getAuthenticatorAttachment()
    • getClientExtensionResults

      @Nullable public @Nullable AuthenticationExtensionsClientOutputs<E> getClientExtensionResults()
    • 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