Module com.webauthn4j.core
Package com.webauthn4j.data
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 Summary
ConstructorsConstructorDescriptionPublicKeyCredential(@org.jetbrains.annotations.Nullable byte[] credentialId, R response, @Nullable AuthenticatorAttachment authenticatorAttachment, @Nullable AuthenticationExtensionsClientOutputs<E> clientExtensionResults) PublicKeyCredential(@org.jetbrains.annotations.Nullable byte[] credentialId, R response, @Nullable AuthenticationExtensionsClientOutputs<E> clientExtensionResults) PublicKeyCredential(@Nullable String id, @org.jetbrains.annotations.Nullable byte[] rawId, R response, @Nullable AuthenticatorAttachment authenticatorAttachment, @Nullable AuthenticationExtensionsClientOutputs<E> clientExtensionResults) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable AuthenticatorAttachment@Nullable AuthenticationExtensionsClientOutputs<E>@Nullable StringgetId()@org.jetbrains.annotations.Nullable byte[]getRawId()@NotNull StringgetType()inthashCode()toString()
-
Constructor Details
-
PublicKeyCredential
public PublicKeyCredential(@Nullable @org.jetbrains.annotations.Nullable byte[] credentialId, @Nullable R response, @Nullable @Nullable AuthenticationExtensionsClientOutputs<E> clientExtensionResults) -
PublicKeyCredential
public PublicKeyCredential(@Nullable @org.jetbrains.annotations.Nullable byte[] credentialId, @Nullable R response, @Nullable @Nullable AuthenticatorAttachment authenticatorAttachment, @Nullable @Nullable AuthenticationExtensionsClientOutputs<E> clientExtensionResults) -
PublicKeyCredential
public PublicKeyCredential(@Nullable @Nullable String id, @Nullable @org.jetbrains.annotations.Nullable byte[] rawId, @Nullable R response, @Nullable @Nullable AuthenticatorAttachment authenticatorAttachment, @Nullable @Nullable AuthenticationExtensionsClientOutputs<E> clientExtensionResults)
-
-
Method Details
-
getType
-
getId
-
getRawId
@Nullable public @org.jetbrains.annotations.Nullable byte[] getRawId() -
getResponse
-
getAuthenticatorAttachment
-
getClientExtensionResults
-
equals
-
hashCode
public int hashCode() -
toString
-