package FPauth-strategies

  1. Overview
  2. Docs

Password is a simple authentication strategy which verifies identity via provided in params password.

Requires "password" param, otherwise skipped.

val name : string

Name of the strategy.

module type MODEL = sig ... end

MODEL contains requirements for user model in order to use the strategy

module Make (M : MODEL) : sig ... end

Make creates a strategy for a provided model.