Authex v0.3.0 Authex.ForbiddenPlug View Source

A plug to mark the status as forbidden.

This plug is the default used when authorization fails with Authex.AuthorizationPlug. It will put a 403 status into the conn with the body "Forbidden".