java.lang.Object
com.webauthn4j.authenticator.CoreAuthenticatorImpl
- All Implemented Interfaces:
CoreAuthenticator
- Direct Known Subclasses:
AuthenticatorImpl,CoreCredentialRecordImpl
Deprecated.
An
CoreAuthenticator implementation-
Constructor Summary
ConstructorsConstructorDescriptionCoreAuthenticatorImpl(@NotNull AttestedCredentialData attestedCredentialData, @Nullable AttestationStatement attestationStatement, long counter, @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull CoreAuthenticatorImplcreateFromCoreRegistrationData(@NotNull CoreRegistrationData coreRegistrationData) Deprecated.booleanDeprecated.@Nullable AttestationStatementDeprecated.Returns theAttestationStatement@NotNull AttestedCredentialDataDeprecated.Returns theAttestedCredentialDataDeprecated.Returns the authenticator extensionslongDeprecated.Returns the counter valueinthashCode()Deprecated.voidsetAttestationStatement(@Nullable AttestationStatement attestationStatement) Deprecated.voidsetAttestedCredentialData(@NotNull AttestedCredentialData attestedCredentialData) Deprecated.voidsetAuthenticatorExtensions(@Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions) Deprecated.voidsetCounter(long value) Deprecated.Sets the counter value
-
Constructor Details
-
CoreAuthenticatorImpl
public CoreAuthenticatorImpl(@NotNull @NotNull AttestedCredentialData attestedCredentialData, @Nullable @Nullable AttestationStatement attestationStatement, long counter, @Nullable @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions) Deprecated.
-
-
Method Details
-
createFromCoreRegistrationData
@NotNull public static @NotNull CoreAuthenticatorImpl createFromCoreRegistrationData(@NotNull @NotNull CoreRegistrationData coreRegistrationData) Deprecated. -
getAttestedCredentialData
Deprecated.Description copied from interface:CoreAuthenticatorReturns theAttestedCredentialData- Specified by:
getAttestedCredentialDatain interfaceCoreAuthenticator- Returns:
- the
AttestedCredentialData
-
setAttestedCredentialData
public void setAttestedCredentialData(@NotNull @NotNull AttestedCredentialData attestedCredentialData) Deprecated. -
getAttestationStatement
Deprecated.Description copied from interface:CoreAuthenticatorReturns theAttestationStatement- Specified by:
getAttestationStatementin interfaceCoreAuthenticator- Returns:
- the
AttestationStatement
-
setAttestationStatement
Deprecated. -
getCounter
public long getCounter()Deprecated.Description copied from interface:CoreAuthenticatorReturns the counter value- Specified by:
getCounterin interfaceCoreAuthenticator- Returns:
- the counter value
-
setCounter
public void setCounter(long value) Deprecated.Description copied from interface:CoreAuthenticatorSets the counter value- Specified by:
setCounterin interfaceCoreAuthenticator- Parameters:
value- the counter value
-
getAuthenticatorExtensions
@Nullable public @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> getAuthenticatorExtensions()Deprecated.Description copied from interface:CoreAuthenticatorReturns the authenticator extensions- Specified by:
getAuthenticatorExtensionsin interfaceCoreAuthenticator- Returns:
- the authenticator extensions
-
setAuthenticatorExtensions
public void setAuthenticatorExtensions(@Nullable @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions) Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
CoreAuthenticatorImplis deprecated since WebAuthn Level3 added new fields to the credential record. To represent WebAuthn Level3 credential record, newCoreCredentialRecordImplclass is introduced. Please upgrade fromCoreAuthenticatorImplclass toCoreCredentialRecordImplclass.CoreAuthenticatorImplclass will be removed in the future version.