package sihl-user

  1. Overview
  2. Docs
User service implementations for Sihl

Install

Dune Dependency

Authors

Maintainers

Sources

3.0.3.tar.gz
md5=d1502bb2a31114e33f539910bfce1139
sha512=6f5b4d1c6e6eb7c77fb483ef52eea5f69b75079830ec622a552fef33c4fe87f6a70499db9621a8fa298a80aa21649e0047aaba1b9eb53d28c2d573e1f84acf92

doc/index.html

Sihl User

sihl-user takes care of user management, login, registration and forgot password workflows.

Backends

sihl-user ships with 3 backend implementations.

Installation

Backend

First, choose a backend in service/service.ml:

module User = Sihl_user.PostgreSql

Registration

Register the service in run/run.ml:

let services = [ Service.User.register () ]

Migrations

Run make sihl migrate to run pending migrations.

Usage

The service API is documented in Sihl.Contract.User.Sig.

OCaml

Innovation. Community. Security.