View Source API Reference Live Guard v0.1.8
Modules
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
, :handle_info
and :handle_async
).
By this protocol you can implement allowed?/4
functions.
The config module of LiveGuard.
Optional
By this protocol you can implement guarded_stages/1
functions.
Helpers module of LiveGuard.