package vdom

  1. Overview
  2. Docs
type t = Ojs.t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
type rp_options
val rp_options : ?id:string -> ?name:string -> unit -> rp_options
type user_options
val user_options : ?id:ArrayBuffer.t -> ?name:string -> ?display_name:string -> unit -> user_options
type key_param
val key_param : ?type_:string -> ?alg:int -> unit -> key_param
type authenticator_options
val authenticator_options : ?authenticator_attachment:string -> ?resident_key:string -> ?require_resident_key:bool -> ?user_verification:string -> unit -> authenticator_options
type public_key_options
val 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
type create_options
val create_options : ?public_key:public_key_options -> unit -> create_options
type credential_descriptor
val credential_descriptor : ?type_:string -> ?id:ArrayBuffer.t -> ?transports:Ojs.t -> unit -> credential_descriptor
type get_public_key_options
val 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
type get_options
val get_options : ?public_key:get_public_key_options -> unit -> get_options
val get_options_to_js : get_options -> Ojs.t
OCaml

Innovation. Community. Security.