Module Webs_passkey.Registration

Registrations (client passkey registration).

type t

The type for client passkey registration.

val of_public_key_credential_json : string -> (t, string) Stdlib.result

of_public_key_credential_json s decodes a registration from the JSON serialization of a PublicKeyCredential with an AuthenticatorAttestationResponse response member. Typically, the result of a response of a call to navigator.credential.create.

val pp : Stdlib.Format.formatter -> t -> unit

pp formats a registration for inspection.