API Reference canary v2.0.0-dev

Modules

An authorization library in Elixir for Plug and Phoenix.LiveView applications that restricts what resources the current user is allowed to access, and automatically load and assigns resources.

The fallback Canary handler.

Specifies the behavior for handling errors in Canary.

Hooks functions for loading and authorizing resources for the LiveView events. If you want to authorize handle_params and handle_event LiveView callbacks you can use mount_canary macro to attach the hooks.

Plug functions for loading and authorizing resources for the current request.

Common utils functions for Canary.Plugs and Canary.Hooks