View Source API Reference Live Guard v0.1.6


A simple module with on_mount/4 callback. This can used in Phoenix LiveView applications. The main goal is to protect the Phoenix LiveView lifecycle stages easily. It uses the attach_hook/4 function to authorize attachable LiveView lifecycle stages (:handle_params, :handle_event and :handle_info).

By this protocol you can implement allowed?/4 functions.

The config module of LiveGuard.


By this protocol you can implement guarded_stages/1 functions.

Helpers module of LiveGuard.