Lines Matching refs:auth
26 /* @var \DokuWiki_Auth_Plugin $auth */
27 global $auth;
28 if ($auth === null) return '';
89 /* @var DokuWiki_Auth_Plugin $auth */
90 global $auth;
91 if ($auth === null) return false; // no valid auth setup
98 if (empty($auth->retrieveUsers(0, 1, ['grps' => ltrim($item, '@')]))) {
101 } elseif ($auth->getUserData($item) === false) {
122 /* @var DokuWiki_Auth_Plugin $auth */
123 global $auth;
126 if ($auth === null) return $found;
134 $found[$item] = $auth->getUserData($item);
147 /* @var \dokuwiki\Extension\AuthPlugin $auth */
148 global $auth;
149 $auth ??= auth_setup();
150 if (!$auth) return [];
157 } elseif ($name[0] === '@' && $auth->canDo('getUsers')) {
158 $members = $auth->retrieveUsers(0, 0, ['grps' => ltrim($name, '@')]);
175 /* @var DokuWiki_Auth_Plugin $auth */
176 global $auth;
177 if ($auth === null) return false;
179 $userData = $auth->getUserData($user);
258 /* @var DokuWiki_Auth_Plugin $auth */
259 global $auth;
260 if ($auth === null) return [];
264 $members = array_merge($members, $auth->retrieveUsers(0, 0, ['grps' => ltrim($group, '@')]));