Pow v0.1.0-alpha Pow View Source

A module that provides authentication system for your Phoenix app.

Usage

Create lib/my_project/pow.ex:

defmodule MyApp.Pow do
  use Pow,
    user: MyApp.Users.User,
    repo: MyApp.Repo
end

The following modules will be made available:

  • MyApp.Pow.Ecto.Schema
  • MyApp.Pow.Phoenix.Router
  • MyApp.Pow.Phoenix.Messages
  • MyApp.Pow.Plug.Session

For extensions integration, Pow.Extension.Phoenix.ControllerCallbacks will also be automatically included in the configuration unless :controller_callbacks_backend has already been set.

Link to this section Summary

Link to this section Functions