Lines Matching refs:username
28 /** @var bool|string is this client authenticated already? Contains username if yes */
190 * @param string $username
194 public function getCachedUser($username, $fetchgroups = true)
199 if (isset($this->userCache[$username])) {
200 if (!$fetchgroups || is_array($this->userCache[$username]['grps'])) {
201 return $this->userCache[$username];
207 $cachename = getCacheName($username, '.pureldap-user');
210 $this->userCache[$username] = json_decode(
216 if (!$fetchgroups || is_array($this->userCache[$username]['grps'])) {
217 return $this->userCache[$username];
223 $info = $this->getUser($username, $fetchgroups);
227 $this->userCache[$username] = $info;
238 * @param string $username
242 abstract public function getUser($username, $fetchgroups = true);
247 * @param string $username
252 abstract public function setPassword($username, $newpass, $oldpass = null);