authenticator v0.1.0 Authenticator.Unauthenticated

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.

Examples

plug Authenticator.Unauthenticated, with: MyAppWeb.Authenticator