View Source API Reference Live Guard v0.1.1
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 all attachable LiveView lifecycle stages.
By this protocol you can implement allowed?/4
functions.
Optional
By this protocol you can implement guarded_stages/1
functions.
Helpers module of LiveGuard.