shield v0.6.0 API Reference

Modules

Installs shield controllers and views

Shield is an OAuth2 Provider hex package and also a standalone microservice build top of the Phoenix Framework and ‘authable’ package

A behaviour for all arm modules called by other authable modules

A behaviour for all Shield.Arm module for user email confirmation

A behaviour for all Shield.Arm module for one time password security challange

Conveniences for translating and building error messages

A module providing Internationalization with a gettext-based API

This module helps to sync and async hooks into the lifecycle of public actions

Default implementation of Shield.Hook

Dynamically import Shield Hooks into modules.

Examples

App.Grant policy

Token.Authorize policy

User.ChangePassword policy

User.Confirm policy

User.Login policy

User.Logout policy

User.RecoverPassword policy

User.Register policy

User.ResetPassword policy

Query builder for Authable.App Model

Query builder for Authable.Client Model

Query builder for Authable.Token Model

Module with named helpers generated from Shield.Router

App data fetcher

Client data fetcher

Token data fetcher

A module that keeps using definitions for controllers, views and so on