package sihl-user

  1. Overview
  2. Docs
User service implementations for Sihl

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.0-rc1.tar.gz
md5=3dd7fcf3b9f0cf99c1ce0ceed278aef6
sha512=aeb289a71186b7b0b429d3869bb4eab632eec5ab403353dc13d8a18c5b04af5fda7c2a74bacf98364a8e0b1b3e843fb5a0b28a0c38652bed2e9432ee6659b53a

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.