authenticator v0.1.0 Authenticator.Authenticated

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.

Examples

plug Authenticator.Authenticated, with: MyAppWeb.Authenticator