ExSwan.Credential (exswan v0.1.0)
View SourcePublic stored-credential value returned by registration and accepted by authentication.
id is an unpadded base64url string. public_key is the binary CBOR-encoded COSE
key and should be persisted without transformation.
Summary
Functions
Represents a WebAuthn credential source as stored by the authenticator.
Types
@type credential_id() :: String.t()
@type t() :: %ExSwan.Credential{ credential_backed_up: boolean() | nil, credential_device_type: :single_device | :multi_device | nil, id: credential_id(), public_key: binary(), sign_count: non_neg_integer(), transports: [String.t()] | nil, user_handle: user_handle() | nil }
@type user_handle() :: binary()