package sihl-user

  1. Overview
  2. Docs
User service implementations for Sihl

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.1.tar.gz
md5=3e500deaa6ebca3d4ab614900c6b219c
sha512=ab18fe0ff079289498eb3c4a61d787bdcc9f88b901c18ce683bc47c88f3a3e48a6dacf20e3b22e647133c8e9af9fdba9ff192f17560e6fbb506bcc590ef8fc26

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.