FPauthversion

Easy authentication system for Dream framework

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.
AuthorsMikhail Geine <mike.geine@gmail.com> and Pavel Argentov <argentoff@gmail.com>
LicenseMIT
Published
Homepagehttps://github.com/mikeGEINE/FPauth
Issue Trackerhttps://github.com/mikeGEINE/FPauth/issues
MaintainerMikhail Geine <mike.geine@gmail.com>
Dependencies
Source [http] https://github.com/mikeGEINE/FPauth/archive/1.0.0.tar.gz
md5=5661fa07d29c5d8b229ac198653f96d8
sha512=4eafc8d414a5e9fc954f6cb26080dc1e21600b85e21f4e3a82528b37e8a19ff3d88530cde5f3cdc56dc2ce47fe7d1552ded26ec250d646f0c9f7805773d30305
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/FPauth/FPauth.1.0.0/opam
No package is dependent