guardian v0.5.0

Modules summary

Guardian

A module that provides JWT based authentication for Elixir applications

Guardian.Channel

Provides integration for channels to use Guardian tokens

Guardian.Hooks

This module helps to hook into the lifecycle of authentication

Guardian.Hooks.Default
Guardian.Permissions

Functions for dealing with permissions sets

Guardian.Plug

Guardian.Plug contains functions that assist with interacting with Guardian via Plugs

Guardian.Plug.EnsurePermissions

Use this plug to ensure that there are the correct permissions set in the claims found on the connection

Guardian.Plug.EnsureSession

This plug ensures that a valid JWT was provided and has been verified on the request

Guardian.Plug.LoadResource

Fetches the resource specified in a set of claims

Guardian.Plug.VerifyAuthorization

Use this plug to verify a token contained in the header

Guardian.Plug.VerifySession

Use this plug to verify a token contained in a session

Guardian.Serializer

Guardian Serializer Behaviour