package FPauth

  1. Overview
  2. No Docs
Easy authentication system for Dream framework

Install

Authors

Maintainers

Sources

1.0.0.tar.gz
md5=5661fa07d29c5d8b229ac198653f96d8
sha512=4eafc8d414a5e9fc954f6cb26080dc1e21600b85e21f4e3a82528b37e8a19ff3d88530cde5f3cdc56dc2ce47fe7d1552ded26ec250d646f0c9f7805773d30305

Description

FPauth is an easy user authentication system for Dream web-framework.

The main idea behind the system is that user authentication is done via running sets of Strategies, and when one of them succeeds, user is considered to be authenticated. Authentication status is controlled by a middleware standing downstream of session middleware.

The system allows to:

  • Control authentication in web-session;
  • Get authentication status for each request via Dream.field;
  • Check user identity with strategies;
  • Use built-in strategies or custom ones;
  • Add all routes for authentication and strategies at once;
  • Add your own representations of authentication events or use built-in;
  • Use built-in handlers or write your own;
  • Extract params for authentication from requests.

Published: 20 Apr 2022

Dependencies (7)

  1. FPauth-responses = version
  2. FPauth-strategies = version
  3. FPauth-core = version
  4. base
  5. dune >= "2.7"
  6. ocaml >= "4.12.0"
  7. dream >= "1.0.0~alpha3"

Dev Dependencies (3)

  1. odoc with-doc
  2. bisect_ppx with-test & >= "2.5.0"
  3. alcotest with-test

Used by

None

Conflicts

None