Webs_passkey.PasskeyPasskeys (client provided public keys).
These need to be stored and associated to your users.
val make :
aaguid:Aaguid.t ->
credential_id:Credential_id.t ->
public_key:Public_key.t ->
unit ->
tmake aaguid ~credential ~public_key () is a passkey with given parameters. See accessors for semantics.
val credential_id : t -> Credential_id.tcredential_id pk is the credential ID assigned by the authenticator to pk.
val public_key : t -> Public_key.tpublic_key pk is the public key of pk.
val of_public_key : Public_key.t -> tof_public_key pk is a passkey with the given public key. All other fields are zeroed out but this is enough to give to Webs_passkey.verify.
val pp : Stdlib.Format.formatter -> t -> unitpp formats a passkey for inspection.