Package com.webauthn4j.authenticator
Interface CoreAuthenticator
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Authenticator
- All Known Implementing Classes:
AuthenticatorImpl,CoreAuthenticatorImpl
Core interface that represents WebAuthn authenticator
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable AttestationStatementReturns theAttestationStatement@NonNull AttestedCredentialDataReturns theAttestedCredentialDatadefault @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput>Returns the authenticator extensionslongReturns the counter valuevoidsetCounter(long value) Sets the counter value
-
Method Details
-
getAttestedCredentialData
@NonNull AttestedCredentialData getAttestedCredentialData()Returns theAttestedCredentialData- Returns:
- the
AttestedCredentialData
-
getAttestationStatement
Returns theAttestationStatement- Returns:
- the
AttestationStatement
-
getCounter
long getCounter()Returns the counter value- Returns:
- the counter value
-
setCounter
void setCounter(long value) Sets the counter value- Parameters:
value- the counter value
-
getAuthenticatorExtensions
default @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> getAuthenticatorExtensions()Returns the authenticator extensions- Returns:
- the authenticator extensions
-