View Source Wax.AuthenticatorData (wax_ v0.6.5)

Link to this section Summary

Functions

Returns the AAGUID of the authenticator

Link to this section Types

@type credential_id() :: binary()
@type t() :: %Wax.AuthenticatorData{
  attested_credential_data: Wax.AttestedCredentialData.t(),
  extensions: map(),
  flag_attested_credential_data: boolean(),
  flag_backup_eligible: boolean(),
  flag_credential_backed_up: boolean(),
  flag_extension_data_included: boolean(),
  flag_user_present: boolean(),
  flag_user_verified: boolean(),
  raw_bytes: binary(),
  rp_id_hash: binary(),
  sign_count: non_neg_integer()
}

Link to this section Functions

Link to this function

get_aaguid(authenticator_data)

View Source
@spec get_aaguid(t()) :: binary() | nil

Returns the AAGUID of the authenticator

Note that FIDO-U2F authenticators don't have an AAGUID, so nil is returned in this case