示例#1
0
 public static function authorise($response, $options = array())
 {
     // Get plugins in case they haven't been loaded already
     MPluginHelper::getPlugin('user');
     MPluginHelper::getPlugin('authentication');
     $dispatcher = MDispatcher::getInstance();
     $results = $dispatcher->trigger('onUserAuthorisation', array($response, $options));
     return $results;
 }