API Reference Coherence v0.8.0

Modules

Coherence is a full featured, configurable authentication and user management system for Phoenix, providing a number of optional features configured with a installation mix task

Implements basic HTTP authentication. To use add

Implements ip address based authentication. To use add

Implements Session based authentication. By default, it uses an Server for session state. Additionally, a the session can be stored in a database with an Server based cache.

Implements token based authentication. To use add

Coherence Configuration Module.

Confirmable allows users to confirm a new account.

Handle confirmation actions.

Handle confirmation actions.

Common helper functions for Coherence Controllers.

Stores current credential information.

Database persistence of current_user data.

Handle invitation actions.

Handle invitation actions.

Lockable disables an account after too many failed login attempts.

Interface for handling localization of build in Coherence messages.

Handle password recovery actions.

Handle password recovery actions.

This service handles reseting of passwords.

Handle account registration actions.

Handle account registration actions.

Plug to protect controllers that require login.

Handles routing for Coherence.

Add Coherence support to a User schema module.

Handle the authentication actions.

Default SessionConroller action and support functions.

Support functions for Coherence sessions.

Supervisor to start Coherence services.

Trackable tracks login information for each login.

Handle unlock_with_token actions.

Handle unlock_with_token actions.

Plug to validate the given option is enabled in the project's configuration.

Coherence setting for web resources.

Define controller action redirection behaviour.

Mix Tasks

This task will clean most of the files installed by the mix coh.install task.

Generate Coherence controllers.

Configure the Coherence User Model for your Phoenix application. Coherence is composed of a number of modules that can be enabled with this installer.