package sihl-user

  1. Overview
  2. Docs
User service implementations for Sihl

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
md5=d1cbae2e24ccea2d3232cfbff29a202c
sha512=cc4c49192f8c646e2dceca73e02b01c77eaedd8916a0fcc5d84c54c54ccfb8e241514cfd57e10a615a8e2f185f730d3015e380397263f31979d306dd55bfaa2e

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.