Class PublicKeyCredential<R extends AuthenticatorResponse,E extends ExtensionClientOutput>

java.lang.Object
com.webauthn4j.data.PublicKeyCredential<R,E>
All Implemented Interfaces:
Serializable

public class PublicKeyCredential<R extends AuthenticatorResponse,E extends ExtensionClientOutput> extends Object implements Serializable
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

    • PublicKeyCredential

      public PublicKeyCredential(@org.checkerframework.checker.nullness.qual.Nullable byte[] credentialId, @Nullable R authenticatorResponse, @Nullable AuthenticationExtensionsClientOutputs<E> clientExtensionResults)
  • Method Details

    • getType

      public @NonNull String getType()
    • getId

      public @Nullable String getId()
    • getRawId

      public @org.checkerframework.checker.nullness.qual.Nullable byte[] getRawId()
    • getAuthenticatorResponse

      public @Nullable R getAuthenticatorResponse()
    • getClientExtensionResults

      public @Nullable AuthenticationExtensionsClientOutputs<E> getClientExtensionResults()
    • equals

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