RestAuth v1.1.2 API Reference

Modules

RestAuth is a declarative ACL library for Phoenix

RestAuth.Authenticate is used to load user information into conn

An authority struct

Generic caching service to be used by the user implemented handler module

Plug responsible for configuring the RestAuth suite on subsequent actions

Generic controller handling login and logout

Behaviour for providing overridable error handling for RestAuth plugs

The primary behaviour that drives the use of RestAuth in a project

RestAuth.Restrict is used to secure endpoints

Utilities for testing endpoints using RestAuth

Module is responsible for taking a set of user roles and checking them against required roles on action