Class Authenticator

java.lang.Object
io.hanko.sdk.webauthn.api.Authenticator

public class Authenticator extends Object
Representation of an authenticator associated with an existing credential.
  • Constructor Details

    • Authenticator

      public Authenticator(String aaguid, String name, AuthenticatorAttachment attachment)
      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 - the aaguid of the authenticator
      name - the name of the authenticator
      attachment - authenticatorAttachment used on registration
  • Method Details

    • getAaguid

      public String 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

      public String getName()
      Get the authenticator name.
      Returns:
      the name of the authenticator as given by the authenticator manufacturer as a String.
    • getAttachment

      public AuthenticatorAttachment getAttachment()
      Returns:
      AuthenticatorAttachment modality used on registration of a credential with this authenticator.