The yesod-auth-account-fork package

[ Tags: library, mit, web ] [ Propose Tags ]

An auth plugin for accounts. Each account consists of a username, email, and password. The plugin provides new account, email verification, and password reset pages that can be customized to enhance the user experience.

This is a fork of the yesod-auth-account package with the following additions:

We'd like to merge these changes back upstream but its maintainer has been unresponsive.


[Skip to Readme]

Properties

Versions 2.0, 2.0.1, 2.0.2, 2.0.3
Change log Changelog.md
Dependencies aeson (>=0.6), base (==4.*), blaze-html (>=0.6), bytestring (>=0.10), email-validate (>=2.0), http-types, mtl (>=2.1), nonce (>=1.0), persistent (>=1.3 && <2.3), pwstore-fast (>=2.0), random (>=1.0), tagged, text (>=0.11), yesod-auth (>=1.3.3 && <1.5), yesod-core (>=1.2 && <1.5), yesod-form (>=1.3 && <1.5), yesod-persistent (>=1.2) [details]
License MIT
Author John Lenz <lenz@math.uic.edu>, Felipe Lessa <felipe.lessa@gmail.com>
Maintainer Felipe Lessa <felipe.lessa@gmail.com>
Category Web
Home page https://github.com/meteficha/yesod-auth-account-fork
Source repository head: git clone https://github.com/meteficha/yesod-auth-account-fork.git
Uploaded Fri Oct 2 15:20:34 UTC 2015 by FelipeLessa
Distributions NixOS:2.0.3
Downloads 400 total (4 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-10-04 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for yesod-auth-account-fork-2.0.3

[back to package description]

This package provides a Yesod authentication plugin for accounts. Each account consists of an username, email, and password. When initially creating an account, the email is verified by sending a link in an email. The plugin also supports password reset via email.

The plugin provides default pages implementing all of this functionality, but it has been designed to allow all the pages (new account page, password reset, etc.) to be customized or for the forms to be embedded into your own pages allowing you to just ignore the routes inside the plugin. The details are contained in the haddock documentation.

The plugin supports any form data storage by requiring you to implement a couple of interfaces for data access. The plugin has instances of these interfaces using persistent, but you can create your own implementation if you are not using persistent or want more control over user data access and storage.

A complete working example using persistent is example.hs. Also, see the haddock documentation.

Fork

This is a fork of the yesod-auth-account package with the following additions:

  • Login using either username or e-mail.

  • JSON support for single page applications.

We'd like to merge these changes back upstream but its maintainer has been unresponsive.