The yesod-auth-account package

[Tags: library, mit]

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.


[Skip to ReadMe]

Properties

Versions1.1.0, 1.1.0.1, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.4.0, 1.4.1
Change logChangelog.md
Dependenciesbase (==4.*), blaze-html (>=0.6), bytestring (>=0.10), mtl (>=2.1), nonce (>=1.0), persistent (>=1.3 && <2.3), pwstore-fast (>=2.0), text (>=0.11), yesod-auth (>=1.2 && <1.5), yesod-core (>=1.2 && <1.5), yesod-form (>=1.3 && <1.5), yesod-persistent (>=1.2) [details]
LicenseMIT
AuthorJohn Lenz <lenz@math.uic.edu>
MaintainerJohn Lenz <lenz@math.uic.edu>
StabilityExperimental
CategoryWeb
Home pagehttps://bitbucket.org/wuzzeb/yesod-auth-account
Source repositoryhead: hg clone https://bitbucket.org/wuzzeb/yesod-auth-account
UploadedThu Jun 18 23:12:28 UTC 2015 by JohnLenz
DistributionsDebian:1.2.6, NixOS:1.4.1, Stackage:1.4.1
Downloads1570 total (113 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Last success reported on 2015-06-18 [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for yesod-auth-account-1.4.1

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.