Pow v0.1.0-alpha.6 API Reference

Modules

Utilities module for mix tasks

Utilities module for ecto migrations in mix tasks

Utilities module for mix extension tasks

Utilities module for mix phoenix tasks

Utilities module for mix phoenix mailer tasks

Methods to parse and modify configurations

Handles pow users context for user

Handles the Ecto schema for user

Handles changesets methods for Pow schema

Handles the Ecto schema fields for user

Generates schema migration content

Generates schema module content

Simple wrapper for password hash and verification

The Pbkdf2 hash generation code is pulled from Plug.Crypto.KeyGenerator and is under Apache 2 license

Configuration helpers for extensions

Used for extensions to add helpers for user contexts

Handles extensions for the user Ecto schema

Used for extensions to extend user schemas

Generates schema migration content for extensions

Used with Pow Extension Phoenix controllers to handle messages and routes

Module that adds controller callbacks for extensions

Used for the Phoenix Controller Callbacks module in extensions

Module that handles messages for extensions

Handles extensions for the phonix router

Used for extensions to extend routes

Operation methods that glues operation calls to context module

Used with Pow Phoenix controllers to handle messages, routes and callbacks

Conveniences for building error messages

Module that can build form templates for Phoenix

This module provides an API for mails to be sent by Pow

Module that renders html and text version of e-mails

Module that builds mailer templates for Phoenix views using EEx with Phoenix.HTML.Engine

View macros for Pow.Phoenix.Mailer that calls render methods generated with Pow.Phoenix.Mailer.Template

Module that handles messages

Handles Phoenix routing for Pow

Module that handles routes

Controller actions for session

Module that can builds templates for Phoenix views using EEx with Phoenix.HTML.Engine

View macros for Pow Phoenix, that calls render methods generated with Pow.Phoenix.Template

Module that renders views

Authorization methods for Plug

This plug macro will set :pow_config as private, and attempt to fetch and assign a user in the connection if it has not already been assigned. The user will be assigned automatically in any of the operations

This plug ensures that a user has been authenticated

This plug ensures that a user hasn’t already been authenticated

This plug will handle user authorization using session

GenServer based key value ETS cache store with auto expiration

GenServer based key value Mnesia cache store with auto expiration

Used to set up API for key-value cache store

Default module for credentials session storage

Module to generate UUID binary

Base module for setting up persistent session plugs

This plug will handle persistent user sessions with cookies

Exceptions

Mix Tasks

pow

Prints Pow tasks and their information.

mix pow

Generates a user migrations file

Generates a user schema

Generates a user schema module and migrations file

Generates a migration files for extensions

Generates pow extension templates for Phoenix

Generates Pow mailer extension templates for Phoenix

Will generate pow module files, a user schema module, migrations file

Generates pow templates for Phoenix

Generates a user schema module and migration files