Wax.AuthenticatorData (wax_ v0.4.1) View Source

Link to this section Summary

Link to this section Types

Specs

credential_id() :: binary()

Specs

t() :: %Wax.AuthenticatorData{
  attested_credential_data: Wax.AttestedCredentialData.t(),
  extensions: map(),
  flag_attested_credential_data: 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

decode(authenticator_data)

View Source

Specs

decode(binary()) :: {:ok, t()} | {:error, any()}