AclListener
class AclListener extends Plugin
ACL provider
Methods
beforeDispatch(Event $event, Dispatcher $dispatcher)
Listens for the 'beforeDispatch' event and checks action against the ACL. Based on priority, this will always run AFTER the key check
returnInvalid()
Output a 403 Forbidden response and proper JSON encoded error message
Details
at line line 25
beforeDispatch(Event $event, Dispatcher $dispatcher)
Listens for the 'beforeDispatch' event and checks action against the ACL. Based on priority, this will always run AFTER the key check
Will return output and exit program execution on error
at line line 73
returnInvalid()
Output a 403 Forbidden response and proper JSON encoded error message