package FPauth-strategies

  1. Overview
  2. Docs

Make creates a strategy for a provided model.

Parameters

module M : MODEL

Signature

type entity = M.t

call is a main function of a strategy, which authenticates the user by "password" param. The param is verified against a hashed password with Argon2.

val routes : Dream.route

This strategy has no routes and returns Dream.no_route

val name : string