authenticator v0.1.0 API Reference

Modules

A plug that requires the user to be authenticated. If the user is not authenticated, the fallback/2 function will be called with a reason of :not_authenticated

This module provides a shortcut for using Authenticator with Authority

A plug that authenticates a resource from the Authorization header. The header is expected to conform to the following format

Authenticates the user from the session

A plug that requires the user to be unauthenticated. If the user is authenticated, the fallback/2 function will be called with a reason of :not_unauthenticated