package sihl-user

  1. Overview
  2. Docs
User service implementations for Sihl

Install

Dune Dependency

Authors

Maintainers

Sources

2.0.1.tar.gz
md5=52b28d3faac0a2243735285aa3f962aa
sha512=e7ff89bdba9f1afa3b115a056ae3d403f602685187a968485ea64a7cd1a18791f66b7480b682bf66acd3564dd89139162779d58a43c2389d785c98e246094a18

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.