package sihl-user

  1. Overview
  2. Docs

Parameters

Signature

val register_migration : unit -> unit
val register_cleaner : unit -> unit
val lifecycles : Sihl_core.Container.Lifecycle.t list
val get : id:string -> Model.t option Lwt.t
val get_by_email : email:string -> Model.t option Lwt.t
val insert : user:Model.t -> unit Lwt.t
val update : user:Model.t -> unit Lwt.t