rampart v1.0.1 Rampart.Enforcer
The Enforcer module defines a plug which enforces that a request has been authorized. This should be used in your applications router in whatever pipeline you want verified.
The verification process simply checks for the
existence of the authorized
key. If no authorization
has been performed, this plug will raise a
Rampart.Exceptions.AuthorizationNotPerformed
exception.
Summary
Types
Functions
Callback implementation for Plug.call/2
.
Callback implementation for Plug.init/1
.