Lines Matching defs:user
35 'logout' => true, // can the user logout again? (eg. not possible with HTTP auth)
89 // can at least one of the user's properties be changed?
115 * example for enforcing a user name schema.
147 * Log off the current user [ OPTIONAL ]
165 * authenticate a user - all other DokuWiki internals
180 * the function needs to check if the user is logged in
189 * @param string $user Username
195 public function trustExternal($user, $pass, $sticky = false)
209 $_SERVER['REMOTE_USER'] = $user;
210 $_SESSION[DOKU_COOKIE]['auth']['user'] = $user;
219 * Check user+password [ MUST BE OVERRIDDEN ]
221 * Checks if the given user exists and the given
227 * @param string $user the user name
231 public function checkPass($user, $pass)
238 * Return user info [ MUST BE OVERRIDDEN ]
240 * Returns info about the given user needs to contain
243 * name string full name of the user
244 * mail string email address of the user
245 * grps array list of groups the user is in
248 * @param string $user the user name
250 * @return false|array containing user data or false
252 public function getUserData($user, $requireGroups = true)
261 * Returns false if the user already exists, null when an error
264 * The new user HAS TO be added to the default group by this
270 * @param string $user
277 public function createUser($user, $pass, $name, $mail, $grps = null)
284 * Modify user data [implement only where required/possible]
289 * @param string $user nick of the user to be changed
293 public function modifyUser($user, $changes)
295 msg("authorisation method does not allow modifying of user data", -1);
315 * Return a count of the number of user which meet $filter criteria
326 msg("authorisation method does not provide user counts", -1);
331 * Bulk retrieval of user data [implement only where required/possible]
336 * @param int $start index of first user to be returned
343 msg("authorisation method does not support mass retrieval of user data", -1);
382 * user) then you need to overwrite this method and return false
394 * This function is applied to any user name that is given to
395 * the backend and should also be applied to any user name within
401 * @param string $user username
404 public function cleanUser($user)
406 return $user;
432 * DokuWiki caches user info in the user's session for the timespan defined
436 * This also means that changes to the user database will not be reflected
439 * To accommodate for this, the user manager plugin will touch a reference
444 * the backend's database through other means than the user manager plugin.
450 * @param string $user - The username
454 public function useSessionCache($user)