Authex.Plug.Unauthorized (Authex v2.2.0) View Source

A plug to mark the status as unauthorized.

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