Module Webs_passkey.Relying_party

Relying party (registers and verifies client assertions).

type id = string

The type for relying part identifiers. Basically your domain name.

type 'a t

The type for relying parties with challenge payloads of type 'a.

val make : ?challenge_validator:'a Challenge.Validator.t -> id:id -> unit -> 'a t

make ~id () is a relying party with id id using challenge_validator to generate and validate challenges (defaults to Challenge.Validator.make ()).