sheriff v0.2.0 API Reference

Modules

A simple minimal-dependency way to manage policy based authorization

Handles the dispatch of requests for missing, unethenticated, and unauthorized requests in the pipeline with a simple setup of behaviours

Not an actual Plug but a collection of Plug related helper functions

Enforces authorization policies for actors and resources

Load the requested resource and store it on the connection

A basic behaviour for policies

A module to load a resource given its role and action

Exceptions

A module to handle a lack of permissions for a given request