/plugin/virtualgroup/ |
D | VirtualGroups.php | 26 * @param string $user 29 public function getUserGroups($user) argument 32 return $config[$user] ?? []; 45 foreach ($config as $user => $groups) { 47 $users[] = $user; 63 foreach ($config as $user => $usergroups) { 68 $groups[$group][] = $user; 80 * @param string $user 83 public function removeUser($user) argument 86 if (isset($config[$user])) unset($config[$user]); [all …]
|
/plugin/attribute/ |
D | helper.php | 139 * @param string $user 143 private function validateUser($user) argument 145 if(!$this->secure) return $user; 151 if ($ACT == 'login' && !$USERINFO && $user == $INPUT->str('u')) { 152 return $user; 163 if (!$user || ($user !== $_SERVER['REMOTE_USER'] && !$INFO['isadmin'])) { 167 return $user; 180 private function loadAttributes($namespace, $user) argument 182 $key = rawurlencode($namespace) . '.' . rawurlencode($user); 236 private function saveAttributes($namespace, $user, $data) argument [all …]
|
/plugin/authucenter/lib/uc_client/control/ |
D | pm.php | 76 $user = $_ENV['user']->get_user_by_uid($fromuid); 77 $user = daddslashes($user, 1); 78 if(!$user) { 81 $this->user['uid'] = $user['uid']; 82 $this->user['username'] = $user['username']; 88 unset($msgto[$this->user['uid']]); 101 if($user['regdate'] > $this->time - $this->settings['pmsendregdays'] * 86400) { 111 if(!$_ENV['pm']->ispminterval($this->user['uid'], $this->settings['pmfloodctrl'])) { 116 …if(!$_ENV['pm']->isprivatepmthreadlimit($this->user['uid'], $this->settings['privatepmthreadlimit'… 121 if(!$_ENV['pm']->ischatpmthreadlimit($this->user['uid'], $this->settings['chatpmthreadlimit'])) { [all …]
|
/plugin/lms/ |
D | helper.php | 17 * @param string|null $user Username, null for no user data 20 public function getLessons($user = null) argument 26 if ($user !== null) { 27 $lessons = array_merge($lessons, $this->getUserLessons($user)); 54 * @param string $user Username 57 public function markLesson($id, $user, $seen = true) argument 59 if ($user === null) return false; 61 $file = $this->getUserFile($user); 71 * @param string $user 74 public function getUserLessons($user) argument [all …]
|
/plugin/struct/_test/types/ |
D | UserTest.php | 21 $user = new User(); 22 $user->validate('nosuchuser'); 27 $user = new User(); 28 $user->validate('testuser'); 31 $user = new User(['existingonly' => false]); 32 $user->validate('nosuchuser'); 40 $user = new User( 51 …$this->assertEquals([['label' => 'Arthur Dent [testuser]', 'value' => 'testuser']], $user->handleA… 54 …$this->assertEquals([['label' => 'Arthur Dent [testuser]', 'value' => 'testuser']], $user->handleA… 57 $this->assertEquals([], $user->handleAjax()); [all …]
|
/plugin/authsplit/ |
D | auth.php | 142 * @param string $user the user name 146 public function checkPass($user, $pass) { argument 148 if (!$this->authplugins['primary']->checkPass($user, $pass)) { 162 return $this->_checkUserOnSecondaryAuthPlugin($user); 171 * @param string $user The user name (may be empty) 176 public function trustExternal($user, $pass, $sticky = false) { argument 181 if (!$this->authplugins['primary']->trustExternal($user, $pass, $sticky)) { 191 $user = $_SERVER['REMOTE_USER']; 193 'authsplit:trustExternal(): derived user name: ' . $user, 199 if ($this->_checkUserOnSecondaryAuthPlugin($user)) { [all …]
|
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Xml/Property/ |
D | Invite.php | 125 foreach ($this->users as $user) { 128 $writer->writeElement('{DAV:}href', $user['href']); 129 if (isset($user['commonName']) && $user['commonName']) { 130 $writer->writeElement($cs . 'common-name', $user['commonName']); 132 switch ($user['status']) { 149 if ($user['readOnly']) { 156 if (isset($user['summary']) && $user['summary']) { 157 $writer->writeElement($cs . 'summary', $user['summary']); 198 $user = [ 210 $user['status'] = SharingPlugin::STATUS_ACCEPTED; [all …]
|
/plugin/shibbolethauth/files/ |
D | shibboleth.class.php | 110 * @param string $user Username 115 function trustExternal($user,$pass,$sticky=false){ argument 136 $_SESSION[DOKU_COOKIE]['auth']['user'] = $user = $_SESSION['DW_SHIB']['user']; 155 …$USERINFO['name'] = $user = $_SERVER[$conf['plugin']['shibbolethauth']['shibbolethEmailAttribute']… 164 if(strpbrk($user, '@') != false){ 181 …,$conf['plugin']['shibbolethauth']['sympaApplicationPwd'], 'USER_EMAIL='.$user,'complexWhich'); … 213 $_SERVER['REMOTE_USER'] = $user; 214 $_SESSION[DOKU_COOKIE]['auth']['user'] = $user; 215 $_SESSION[DOKU_COOKIE]['auth']['pass'] = $user; 217 $_SESSION['DW_SHIB']['user']= $user; [all …]
|
/plugin/authvk/ |
D | auth.php | 41 function trustExternal($user, $pass, $sticky = false) { argument 56 if (!empty($user)) { 58 $login = $collection->findOne(array('name' => $user)); 86 * @param string $user 90 public function checkPass($user, $pass) { argument 91 $userinfo = $this->getUserData($user); 94 return auth_verifyPassword($pass, $this->users[$user]['pass']); 108 * @param string $user 112 public function getUserData($user, $requireGroups=true) { argument 114 return isset($this->users[$user]) ? $this->users[$user] : false; [all …]
|
/plugin/starred/ |
D | helper.php | 39 * @param string|null $user defaults to current user 42 public function toggleStar($user = null, $pageid = null) argument 53 if ($user === null) $user = $INPUT->server->str('REMOTE_USER'); 54 if (blank($user)) return; 56 $on = $this->checkStar($user, $pageid); // currently on? 61 $db->exec($sql, [$pageid, $user]); 65 $db->exec($sql, [$pageid, $user, time()]); 72 * @param string|null $user defaults to current user 76 public function checkStar($user = null, $pageid = null) argument 87 if ($user === null) $user = $INPUT->server->str('REMOTE_USER'); [all …]
|
/plugin/authimap2/ |
D | auth.php | 67 * @param string $user the user name 71 public function checkPass($user, $pass) { argument 72 $userinfo = $this->getUserData($user); 82 $login = "$user@$domain"; 84 $login = $user; 111 * @param string $user the user name 115 public function getUserData($user, $requireGroups=true) { argument 117 return isset($this->users[$user]) ? $this->users[$user] : false; 125 * @param string $user 132 protected function _createUserLine($user, $pass, $name, $mail, $grps) { argument [all …]
|
/plugin/authimap/ |
D | auth.php | 57 * @param string $user the user name 61 public function checkPass($user, $pass) { argument 62 $user = $this->cleanUser($user); 68 $login = "$user@$domain"; 70 $login = $user; 92 * @param string $user the user name 95 public function getUserData($user, $requireGroups = false) { argument 97 $user = $this->cleanUser($user); 101 'name' => utf8_ucwords(strtr($user, '_-.', ' ')), 102 'mail' => "$user@$domain", [all …]
|
/plugin/authowncloud/ |
D | auth.php | 62 * @param string $user 66 public function checkPass($user, $pass) { argument 67 if(OC_USER::checkPassword($user,$pass)) return true; 79 * @param string $user the user name 82 public function getUserData($user) { argument 83 $name = OC_User::getDisplayName($user); 84 $mail = $this->getUserMail($user); 85 $grps = $this->getUserGroups($user); 100 * @param string $user 107 public function createUser($user, $pwd, $name, $mail, $grps = null) { argument [all …]
|
/plugin/authremoteuser/ |
D | auth.php | 65 * @param string $user 70 public function trustExternal($user, $pass, $sticky=false) { argument 107 * @param string $user 111 public function getUserData($user, $requireGroups=true) { argument 113 return isset($this->users[$user]) ? $this->users[$user] : false; 121 * @param string $user 128 protected function _createUserLine($user, $pass, $name, $mail, $grps) { argument 130 $userline = array($user, $pass, $name, $mail, $groups); 150 * @param string $user 157 public function createUser($user, $pwd, $name, $mail, $grps = null) { argument [all …]
|
/plugin/autogallery/ |
D | auth.php | 49 * @param string $user Username 81 * @param string $user the user name 85 public function checkPass($user, $pass) { argument 100 * @param string $user the user name 104 public function getUserData($user, $requireGroups=true) { argument 120 * @param string $user 137 * @param string $user nick of the user to be changed 236 * @param string $user username 239 public function cleanUser($user) { argument 240 return $user; [all …]
|
/plugin/authdrupal8/ |
D | auth.php | 68 * @param string $user user who would like access 76 public function checkPass($user, $pass) { argument 80 $sql = str_replace('%{user}', $this->_escape($user), $this->checkPass); 116 * @param string $user user login to get data for 121 public function getUserData($user, $requireGroups=true) { argument 122 if($this->_cacheExists($user, $requireGroups)) { 123 return $this->cacheUserInfo[$user]; 127 $info = $this->_getUserInfo($user, $requireGroups); 143 * @param string $user username of the user whose information is being reterieved 150 protected function _getUserInfo($user, $requireGroups=true, $useCache=true) { argument [all …]
|
/plugin/authdrupal7/ |
D | auth.php | 72 * @param string $user user who would like access 80 public function checkPass($user, $pass) { argument 84 $sql = str_replace('%{user}', $this->_escape($user), $this->getConf('checkPass')); 121 * @param string $user user login to get data for 126 public function getUserData($user, $requireGroups=true) { argument 127 if($this->_cacheExists($user, $requireGroups)) { 128 return $this->cacheUserInfo[$user]; 132 $info = $this->_getUserInfo($user, $requireGroups); 148 * @param string $user username of the user whose information is being reterieved 155 protected function _getUserInfo($user, $requireGroups=true, $useCache=true) { argument [all …]
|
/plugin/acknowledge/admin/ |
D | report.php | 34 $user = $INPUT->str('user'); 37 $this->htmlPageStatus($pg, $user); 38 } elseif ($user) { 39 $this->htmlUserStatus($user); 50 * @param string $user Optional user 52 protected function htmlPageStatus($pattern, $user = '') argument 67 $helper->getPageAcknowledgements($pattern, $user, $status, 1000) 87 * @param string $user 89 protected function htmlUserStatus($user) argument 96 $user = $auth->cleanUser($user); [all …]
|
/plugin/pureldap/classes/ |
D | Client.php | 95 $user = $INPUT->server->str('REMOTE_USER'); 100 $user = iconv($this->config['sso_charset'], 'UTF-8', $user); 102 $user = mb_convert_encoding($user, 'UTF-8', $this->config['sso_charset']); 104 } elseif (!Clean::isUtf8($user)) { 105 $user = utf8_encode($user); 107 $user = $this->cleanUser($user); 112 $INPUT->server->set('REMOTE_USER', $user); 116 $INPUT->set('u', $user); 143 $user = $this->prepareBindUser($this->config['admin_username']); 145 $this->authenticate($user, $this->config['admin_password']); [all …]
|
/plugin/editor/ |
D | helper.php | 29 function getEditor($ns = '', $num = NULL, $user = '') { argument 32 if (!$user) $user = $_REQUEST['user']; 39 if ($user == '@ALL') { // all users 41 } elseif ($user{0} == '@') { // filter group 45 $user = $auth->retrieveUsers(0, 0, array('grps' => substr($user, 1))); 46 $user = array_keys($user); 52 } elseif (preg_match("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/", $user)) { // filter IP 65 $rec = $this->_handleRecent($lines[$i], $ns, $type, $user); 93 function _handleRecent($line, $ns, $type, $user) { argument 112 if ($recent['user'] != $user) return false; [all …]
|
/plugin/farm/install/animaltemplate/conf/ |
D | mysql.conf.php.example | 27 $conf['auth']['mysql']['user'] = ''; 51 /* Basic SQL statements for user authentication (required) */ 56 * of the user. If the result table is empty or contains more than one 62 * %{user} user name 70 WHERE login='%{user}' 74 * information about one user. The field needed are: 76 * 'name' the user's full name 77 * 'mail' the user's email address 83 * %{user} user name 87 WHERE login='%{user}'"; [all …]
|
/plugin/tuxquote/ |
D | images-license.txt | 25 adrielhernandez (http://tux.crystalxp.net/en.user.285179.1.12.html) 27 SMN (http://tux.crystalxp.net/en.user.190553.1.12.html) 28 Debsy (http://tux.crystalxp.net/en.user.24307.1.12.html) 29 mimipunk (http://tux.crystalxp.net/en.user.2109.1.12.html) 30 kami23 (http://tux.crystalxp.net/en.user.21587.1.12.html) 31 umrfix (http://tux.crystalxp.net/en.user.356936.1.12.html) 32 pusio (http://tux.crystalxp.net/en.user.330619.1.12.html) 33 fcys14 (http://tux.crystalxp.net/en.user.386.1.12.html) 34 clementes (http://tux.crystalxp.net/en.user.353072.1.12.html) 35 juanito15 (http://tux.crystalxp.net/en.user.380646.1.12.html) [all …]
|
/plugin/authchained/ |
D | auth.php | 167 * @param string $user Username 172 public function trustExternal($user, $pass, $sticky = false) { argument 175 if($module[1]->canDo('external') && $module[1]->trustExternal($user, $pass, $sticky)) { 200 * @param string $user the user name 204 public function checkPass($user, $pass) { argument 208 return $this->chained_auth->checkPass($user, $pass); 210 if($module[1]->canDo('external') && $module[1]->trustExternal($user, $pass)) { 215 if($module[1]->checkPass($user, $pass)) { 235 * @param string $user the user name 238 public function getUserData($user, $requireGroups=true) { argument [all …]
|
/plugin/authserversso/ |
D | auth.php | 47 public function checkPass($user, $pass) { argument 48 Logger::debug("authserversso: checkPass '{$user}':'{$pass}' "); 49 return $this->trustExternal($user, $pass); 52 public function getUserData($user, $requireGroups=true) { argument 53 Logger::debug("authserversso: getUserData {$user}"); 55 return $this->users[$user] ?? false; 58 protected function createUserLine($user, $pass, $name, $mail, $grps) { argument 60 $userline = [$user, $pass, $name, $mail, $groups]; 68 public function createUser($user, $pwd, $name, $mail, $grps = null) { argument 70 Logger::debug("authserversso: createUser {$user}"); [all …]
|
/plugin/authyubikey/ |
D | auth.php.org | 14 /** @var array user cache */ 55 * Check user+password 57 * Checks if the given user exists and the given 61 * @param string $user 65 public function checkPass($user, $pass) { 66 $userinfo = $this->getUserData($user); 69 return auth_verifyPassword($pass, $this->users[$user]['pass']); 73 * Return user info 75 * Returns info about the given user needs to contain 78 * name string full name of the user [all …]
|