class AuthCAS extends \ls\pluginmanager\AuthPluginBase
{
public function init(){
/**
Here you should handle subscribing to the events your plugin will handle
*/
$this->subscribe('beforeLogin');
$this->subscribe('newUserSession');
$this->subscribe('beforeLogout');
}
/* public function construct(PluginManager $manager, $id)
{
parent::construct($manager, $id);
class AuthCAS extends \ls\pluginmanager\AuthPluginBase { public function init(){ /**
Here you should handle subscribing to the events your plugin will handle */ $this->subscribe('beforeLogin'); $this->subscribe('newUserSession'); $this->subscribe('beforeLogout'); }
/* public function construct(PluginManager $manager, $id) { parent::construct($manager, $id);
} */