ExSwan.AuthenticationResult (exswan v0.1.0)

View Source

Information produced by successful authentication verification.

Persist new_sign_count and backup state after every successful ceremony.

Summary

Types

t()

@type t() :: %ExSwan.AuthenticationResult{
  authenticator_attachment: String.t() | nil,
  authenticator_extension_results: map(),
  client_extension_results: map(),
  credential_backed_up: boolean(),
  credential_device_type: :single_device | :multi_device,
  credential_id: String.t(),
  new_sign_count: non_neg_integer(),
  origin: String.t(),
  rp_id: String.t(),
  user_handle: binary() | nil,
  user_verified: boolean()
}