Package com.webauthn4j.authenticator
Class AuthenticatorImpl
java.lang.Object
com.webauthn4j.authenticator.CoreAuthenticatorImpl
com.webauthn4j.authenticator.AuthenticatorImpl
- All Implemented Interfaces:
Authenticator,CoreAuthenticator,Serializable
An
Authenticator implementation- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticatorImpl(@NonNull AttestedCredentialData attestedCredentialData, @Nullable AttestationStatement attestationStatement, long counter) AuthenticatorImpl(@NonNull AttestedCredentialData attestedCredentialData, @Nullable AttestationStatement attestationStatement, long counter, @Nullable Set<AuthenticatorTransport> transports) AuthenticatorImpl(@NonNull AttestedCredentialData attestedCredentialData, @Nullable AttestationStatement attestationStatement, long counter, @Nullable Set<AuthenticatorTransport> transports, @Nullable AuthenticationExtensionsClientOutputs<RegistrationExtensionClientOutput> clientExtensions, @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull AuthenticatorImplcreateFromRegistrationData(@NonNull RegistrationData registrationData) booleanReturns the client extensions@Nullable Set<AuthenticatorTransport>Returns theAuthenticatorTransportSetinthashCode()voidsetClientExtensions(@Nullable AuthenticationExtensionsClientOutputs<RegistrationExtensionClientOutput> clientExtensions) voidsetTransports(@Nullable Set<AuthenticatorTransport> transports) Methods inherited from class com.webauthn4j.authenticator.CoreAuthenticatorImpl
createFromCoreRegistrationData, getAttestationStatement, getAttestedCredentialData, getAuthenticatorExtensions, getCounter, setAttestationStatement, setAttestedCredentialData, setAuthenticatorExtensions, setCounterMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.webauthn4j.authenticator.CoreAuthenticator
getAttestationStatement, getAttestedCredentialData, getAuthenticatorExtensions, getCounter, setCounter
-
Constructor Details
-
AuthenticatorImpl
public AuthenticatorImpl(@NonNull AttestedCredentialData attestedCredentialData, @Nullable AttestationStatement attestationStatement, long counter, @Nullable Set<AuthenticatorTransport> transports, @Nullable AuthenticationExtensionsClientOutputs<RegistrationExtensionClientOutput> clientExtensions, @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions) -
AuthenticatorImpl
public AuthenticatorImpl(@NonNull AttestedCredentialData attestedCredentialData, @Nullable AttestationStatement attestationStatement, long counter, @Nullable Set<AuthenticatorTransport> transports) -
AuthenticatorImpl
public AuthenticatorImpl(@NonNull AttestedCredentialData attestedCredentialData, @Nullable AttestationStatement attestationStatement, long counter)
-
-
Method Details
-
createFromRegistrationData
public static @NonNull AuthenticatorImpl createFromRegistrationData(@NonNull RegistrationData registrationData) -
getClientExtensions
public @Nullable AuthenticationExtensionsClientOutputs<RegistrationExtensionClientOutput> getClientExtensions()Description copied from interface:AuthenticatorReturns the client extensions- Specified by:
getClientExtensionsin interfaceAuthenticator- Returns:
- the client extensions
-
setClientExtensions
public void setClientExtensions(@Nullable AuthenticationExtensionsClientOutputs<RegistrationExtensionClientOutput> clientExtensions) -
getTransports
Description copied from interface:AuthenticatorReturns theAuthenticatorTransportSet- Specified by:
getTransportsin interfaceAuthenticator- Returns:
- the
AuthenticatorTransportSet
-
setTransports
-
equals
- Overrides:
equalsin classCoreAuthenticatorImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classCoreAuthenticatorImpl
-