Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Web : sig ... end
val search :
?ctx:(string * string) list ->
?sort:[ `Asc | `Desc ] ->
?filter:string ->
?limit:int ->
?offset:int ->
unit ->
(Sihl__Contract_user.t list * int) Lwt.t
val find_opt :
?ctx:(string * string) list ->
string ->
Sihl__Contract_user.t option Lwt.t
val find : ?ctx:(string * string) list -> string -> Sihl__Contract_user.t Lwt.t
val find_by_email :
?ctx:(string * string) list ->
string ->
Sihl__Contract_user.t Lwt.t
val find_by_email_opt :
?ctx:(string * string) list ->
string ->
Sihl__Contract_user.t option Lwt.t
val update :
?ctx:(string * string) list ->
?email:string ->
?username:string ->
?name:string ->
?given_name:string ->
?status:Sihl__Contract_user.status ->
Sihl__Contract_user.t ->
Sihl__Contract_user.t Lwt.t
val update_details :
user:Sihl__Contract_user.t ->
email:string ->
username:string option ->
Sihl__Contract_user.t Lwt.t
val create_user :
?ctx:(string * string) list ->
?id:string ->
?username:string ->
?name:string ->
?given_name:string ->
password:string ->
string ->
Sihl__Contract_user.t Lwt.t
val create_admin :
?ctx:(string * string) list ->
?id:string ->
?username:string ->
?name:string ->
?given_name:string ->
password:string ->
string ->
Sihl__Contract_user.t Lwt.t
val register_user :
?ctx:(string * string) list ->
?id:string ->
?password_policy:(string -> (unit, string) result) ->
?username:string ->
?name:string ->
?given_name:string ->
string ->
password:string ->
password_confirmation:string ->
(Sihl__Contract_user.t,
[ `Already_registered | `Invalid_password_provided of string ])
Result.t
Lwt.t