Package io.hanko.sdk.webauthn.api
Class Authenticator
java.lang.Object
io.hanko.sdk.webauthn.api.Authenticator
Representation of an authenticator associated with an existing credential.
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticator(String aaguid, String name, AuthenticatorAttachment attachment)Construct an Authenticator. -
Method Summary
Modifier and TypeMethodDescriptionGet the AAGUID of this authenticator.Get theAuthenticatorAttachment.getName()Get the authenticator name.
-
Constructor Details
-
Authenticator
Construct an Authenticator.Generally, there is no need for SDK clients to ever instantiate an authenticator. The authenticator is part of a
WebAuthnCredential, which is part of the Hanko API responses and deserialized by the SDK.- Parameters:
aaguid- theaaguidof the authenticatorname- thenameof the authenticatorattachment-authenticatorAttachmentused on registration
-
-
Method Details
-
getAaguid
Get the AAGUID of this authenticator.- Returns:
- the AAGUID as a String. The Authenticator Attestation Globally Unique ID is a 128-bit identifier indicating the type (e.g. make and model) of the authenticator.
-
getName
Get the authenticator name.- Returns:
- the name of the authenticator as given by the authenticator manufacturer as a String.
-
getAttachment
Get theAuthenticatorAttachment.- Returns:
AuthenticatorAttachmentmodality used on registration of a credential with this authenticator.
-