package sihl-user

  1. Overview
  2. Docs
User service implementations for Sihl

Install

Dune Dependency

Authors

Maintainers

Sources

3.0.4.tar.gz
md5=8a2754d6e5b9eafb8ff332abdb1ceb7d
sha512=3230a1315686b0b6f90a41ceda27ab036e178184ab13d5a98f64d6d987caf4a8a5d94ed78bc8e79b0ee3b40ccbb1dbdc71ffe171f1aef1f18aba81fc720e3a1b

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.