package sihl
Module type Sig.SERVICE
include Core.Container.Service.Sig
val lifecycle : Core.Container.Lifecycle.tval create_reset_token : Core.Ctx.t -> email:string -> Token.t option Lwt.tCreate and store a reset token.
Returns None if there is no user with email. The reset token can be used with reset_password to set the password without knowing the old password.
val reset_password :
Core.Ctx.t ->
token:string ->
password:string ->
password_confirmation:string ->
(unit, string) Result.t Lwt.tSet the password of a user associated with the reset token.
val configure : Core.Configuration.data -> Core.Container.Service.t