package ez_api

  1. Overview
  2. Docs

Parameters

module S : EzSession.TYPES.SessionArg with type user_id = string

Signature

val create_user : ?pwhash:Stdlib.Digest.t -> ?password:string -> ?kind:string -> login:string -> S.user_info -> unit
val remove_user : login:string -> unit
val find_user : login:string -> (string option * S.user_id * S.user_info) option Lwt.t
val check_foreign : origin:string -> token:string -> (string, int * string option) Stdlib.result Lwt.t
val register_foreign : origin:string -> token:string -> (S.user_id * S.user_info option, int * string option) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.