Searched refs:auth (Results 26 – 32 of 32) sorted by last modified time
12
29 /** @var AuthPlugin $auth */30 global $auth;31 if (!$auth->canDo('logout')) throw new ActionDisabledException();
31 /** @var AuthPlugin $auth */32 global $auth;33 if (!$auth->canDo('Profile')) throw new ActionDisabledException();
29 /** @var AuthPlugin $auth */30 global $auth;31 if (!$auth->canDo('delUser')) throw new ActionDisabledException();
31 /** @var AuthPlugin $auth */32 global $auth;35 if (!$auth->canDo('addUser')) throw new ActionDisabledException();41 if (register()) { // FIXME could be moved from auth to here
720 /** @var AuthPlugin $auth */721 global $auth;774 if ($auth instanceof AuthPlugin) {776 foreach ($auth->getCapabilities() as $cando) {777 echo ' ' . str_pad($cando, 16) . ' => ' . (int)$auth->canDo($cando) . DOKU_LF;
38 /** @var auth_plugin_authad $auth */39 global $auth;40 if (!is_a($auth, 'auth_plugin_authad')) return; // AD not even used43 $usr = $auth->cleanUser($event->data['user']);44 $dom = $auth->getUserDomain($usr);62 /** @var auth_plugin_authad $auth */63 global $auth;64 if (!is_a($auth, 'auth_plugin_authad')) return; // AD not even used65 $domains = $auth->getConfiguredDomains();77 $usr = $auth[all...]
150 $auth = hexdec(substr($hex_sid, 4, 12));151 $result = "$rev-$auth";