/** * Post auth hook * * @param mixed $payload * @param JAXL $jaxl */ public function _postAuthHook($payload, $jaxl) { $message = $this->getRequest()->getParam('message', 'Hello world from Jaxl'); $jaxl->sendMessage('support@demo', $message); $jaxl->shutdown(); }