package vdom

  1. Overview
  2. Docs

Module Navigator.CredentialSource

Sourcetype t = Ojs.t
Sourceval t_of_js : Ojs.t -> t
Sourceval t_to_js : t -> Ojs.t
Sourcetype rp_options
Sourceval rp_options : ?id:string -> ?name:string -> unit -> rp_options
Sourcetype user_options
Sourceval user_options : ?id:ArrayBuffer.t -> ?name:string -> ?display_name:string -> unit -> user_options
Sourcetype key_param
Sourceval key_param : ?type_:string -> ?alg:int -> unit -> key_param
Sourcetype authenticator_options
Sourceval authenticator_options : ?authenticator_attachment:string -> ?resident_key:string -> ?require_resident_key:bool -> ?user_verification:string -> unit -> authenticator_options
Sourcetype public_key_options
Sourceval public_key_options : ?rp:rp_options -> ?user:user_options -> ?challenge:ArrayBuffer.t -> ?pub_key_cred_params:key_param list -> ?timeout:int -> ?exclude_credentials:Ojs.t list -> ?authenticator_selection:authenticator_options -> ?attestation:string -> unit -> public_key_options
Sourcetype create_options
Sourceval create_options : ?public_key:public_key_options -> unit -> create_options
Sourcetype credential_descriptor
Sourceval credential_descriptor : ?type_:string -> ?id:ArrayBuffer.t -> ?transports:Ojs.t -> unit -> credential_descriptor
Sourcetype get_public_key_options
Sourceval get_public_key_options : ?challenge:ArrayBuffer.t -> ?timeout:int -> ?rp_id:string -> ?allow_credentials:credential_descriptor list -> ?user_verification:string -> ?extensions:Ojs.t -> unit -> get_public_key_options
Sourcetype get_options
Sourceval get_options : ?public_key:get_public_key_options -> unit -> get_options
Sourceval get_options_to_js : get_options -> Ojs.t
OCaml

Innovation. Community. Security.