Haytni v0.6.1 API Reference

Modules

Documentation for Haytni.

This is a base plugin as it handles basic informations of a user (which are email and hashed password) and their authentication.

This plugin ensure that email addresses given by users are valid by sending them an email containing an unique token that they have to return back in order to really be able to use (unlock) their account.

Regroup various helper functions that are not directly tied to the web part (mostly for plugins use but not in controllers, views or templates).

This plugin provides the feature of registration on invitation or sponsorship.

This module provides some basic helpers to query invitations to be independant and not have to know the internals of the Invitable plugin.

This plugin locks an account after a specified number of failed sign-in attempts. User can unlock its account via email and/or after a specified time period.

An intermediate to easily create a Bamboo email in a Phoenix way.

Regroup various helper functions specifically used by migrations

Convenient functions to build the params Map (parameters for the HTTP request) in tests

This plugin provides a basic password policy based on its length and its content (character types). If you are looking for a more advanced policy you'll probably want to disable this plugin and write your own.

Defines a plugin to be used by Haytni

This plugin allows the user to reset its password if he forgot it. To do so, its email addresse (default) is asked to him then an unique token is generated and send to its mailbox. This mail contains a link to activate where a new password will be requested to override the previous one.

This plugin allows the user to register and edit their account.

This plugin makes artificialy last user's authentication by creating a cookie which stores a token for remembering the user.

This module handles generation of tokens for the use of Haytni's plugins.

This module keeps tracks of the following elements

This module provides some basic helpers to query connections to be independant and not have to know the internals of the Trackable plugin.

Contains shared stuffs between Haytni base plugins.

Mix Tasks