package sihl
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  The modular functional web framework
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      sihl-queue-0.1.7.tbz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=a432c28b88610b8ef914aa93d1be5bf3ad4b357ebaa8e95848e981ea30611cd4
    
    
  sha512=e85a2c2935973826ef29191d6a784dca53660c8df55a98174d7326a8a73865cf7f35bfae034b179d85f30bb809985da3c6d170608da2e9ac9763b8fd1f8a1a4e
    
    
  doc/sihl.authn/Sihl_authn/Service/Make/argument-2-UserService/index.html
Parameter Make.UserService
include Sihl_core.Container.Service.Sig
val lifecycle : Sihl_core.Container.Lifecycle.tval find_all : 
  Sihl_core.Ctx.t ->
  query:Sihl_database.Ql.t ->
  (Sihl_user__.Model.t list * Sihl_repository.Meta.t) Lwt.tval find_opt : 
  Sihl_core.Ctx.t ->
  user_id:string ->
  Sihl_user__.Model.t option Lwt.tval find : Sihl_core.Ctx.t -> user_id:string -> Sihl_user__.Model.t Lwt.tval find_by_email : 
  Sihl_core.Ctx.t ->
  email:string ->
  Sihl_user__.Model.t Lwt.tval find_by_email_opt : 
  Sihl_core.Ctx.t ->
  email:string ->
  Sihl_user__.Model.t option Lwt.tval update_password : 
  Sihl_core.Ctx.t ->
  ?password_policy:(string -> (unit, string) Result.t) ->
  user:Sihl_user__.Model.t ->
  old_password:string ->
  new_password:string ->
  new_password_confirmation:string ->
  unit ->
  (Sihl_user__.Model.t, string) Result.t Lwt.tval update_details : 
  Sihl_core.Ctx.t ->
  user:Sihl_user__.Model.t ->
  email:string ->
  username:string option ->
  Sihl_user__.Model.t Lwt.tval set_password : 
  Sihl_core.Ctx.t ->
  ?password_policy:(string -> (unit, string) Result.t) ->
  user:Sihl_user__.Model.t ->
  password:string ->
  password_confirmation:string ->
  unit ->
  (Sihl_user__.Model.t, string) Result.t Lwt.tSet the password of a user without knowing the old password.
This feature is typically used by admins.
val create_user : 
  Sihl_core.Ctx.t ->
  email:string ->
  password:string ->
  username:string option ->
  Sihl_user__.Model.t Lwt.tCreate and store a user.
val create_admin : 
  Sihl_core.Ctx.t ->
  email:string ->
  password:string ->
  username:string option ->
  Sihl_user__.Model.t Lwt.tCreate and store a user that is also an admin.
val register : 
  Sihl_core.Ctx.t ->
  ?password_policy:(string -> (unit, string) result) ->
  ?username:string ->
  email:string ->
  password:string ->
  password_confirmation:string ->
  unit ->
  (Sihl_user__.Model.t, string) Result.t Lwt.tCreate and store new user.
Provide password_policy to check whether the password fulfills certain criteria.
val login : 
  Sihl_core.Ctx.t ->
  email:string ->
  password:string ->
  (Sihl_user__.Model.t, string) Result.t Lwt.tFind user by email if password matches.
val configure : Sihl_core.Configuration.data -> Sihl_core.Container.Service.t sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >