Authex v0.3.1 Authex.UnauthorizedPlug View Source

A plug to mark the status as unauthorized.

This plug is the default used when authentication fails with Authex.AuthenticationPlug. It will put a 401 status into the conn with the body "Unauthorized".