API Reference

Modules

Customized pipe

Openmaize is an authentication / authorization library for Elixir

Plug to authenticate users, using Json Web Tokens

Plug that performs a basic check that users are authorized to access the requested pages / resources

Base module to handle authorization, which is based on user role

Plug to perform the basic authorization check and then a further check based on the user id

This module provides an abstraction layer for configuration. The following are valid configuration items

Module to handle password authentication and the generation, and distribution, of tokens

Plug to check if the path is for the login or logout page and handles the login or logout if necessary. If the path is different, the connection is returned without any further checks being performed

Module to handle user logout

This module provides error and info messages and handles redirects if the option redirects is set to true

This module handles the signup / creation of a new user

Module to generate Json Web Tokens and send them to the user, either by storing the token in a cookie or by sending the token in the body of the response

Module to create JSON Web Tokens

Various tools that are used with the management of JSON Web Tokens

Module to verify JSON Web Tokens