/dokuwiki/lib/plugins/authpdo/conf/ |
H A D | default.php | 11 $conf['user'] = ''; 15 * statement to select a single user identified by its login name 17 * input: :user 18 * return: user, name, mail, (clear|hash), [uid], [*] 20 $conf['select-user'] = ''; 25 * input: :user, :clear, :hash, [uid], [*] 31 * statement to select a single user identified by its login name 33 * input: :user, [uid] 36 $conf['select-user-groups'] = ''; 46 * Create a new user [all...] |
H A D | metadata.php | 11 $meta['user'] = array('string', '_caution' => 'danger'); 13 $meta['select-user'] = array('', '_caution' => 'danger'); 15 $meta['select-user-groups'] = array('', '_caution' => 'danger'); 17 $meta['insert-user'] = array('', '_caution' => 'danger'); 18 $meta['delete-user'] = array('', '_caution' => 'danger'); 21 $meta['update-user-info'] = array('', '_caution' => 'danger'); 22 $meta['update-user-login'] = array('', '_caution' => 'danger'); 23 $meta['update-user-pass'] = array('', '_caution' => 'danger');
|
/dokuwiki/inc/Subscriptions/ |
H A D | SubscriberRegexBuilder.php | 12 * @param string|array $user 21 public function buildRegex($user = null, $style = null, $data = null) 24 $user = (array)$user; 29 $user = array_filter(array_map('trim', $user)); 33 // user names are encoded 34 $user = array_map('auth_nameencode', $user); 37 $user 22 buildRegex($user = null, $style = null, $data = null) global() argument [all...] |
H A D | SubscriberManager.php | 24 * This will automatically overwrite any existent subscription for the given user on this 27 * @throws Exception when user or style is empty 31 * @param string $user 37 public function add($id, $user, $style, $data = '') 44 $this->remove($id, $user); 46 $user = auth_nameencode(trim($user)); 50 if (!$user) { 51 throw new Exception('no subscription user given'); 60 $line = "$user 38 add($id, $user, $style, $data = '') global() argument 81 remove($id, $user = null, $style = null, $data = null) global() argument 111 userSubscription($id = '', $user = '') global() argument 164 subscribers($page, $user = null, $style = null, $data = null) global() argument [all...] |
H A D | RegistrationSubscriptionSender.php | 10 * @param string $login login name of the new user 11 * @param string $fullname full name of the new user 12 * @param string $email email address of the new user
|
H A D | BulkSubscriptionSender.php | 41 // remember current user info 50 foreach ($users as $user => $info) { 60 // Work as the user to make sure ACLs apply correctly 61 $USERINFO = $auth->getUserData($user); 62 $INPUT->server->set('REMOTE_USER', $user); 89 ($INPUT->server->str('REMOTE_USER') === $rev['user'] || 119 $subscriberManager->add($target, $user, $style, time()); 124 // restore current user info
|
/dokuwiki/lib/plugins/authplain/ |
H A D | auth.php | 17 /** @var array user cache */ 58 * Check user+password 60 * Checks if the given user exists and the given 64 * @param string $user 68 public function checkPass($user, $pass) 70 $userinfo = $this->getUserData($user); 73 return auth_verifyPassword($pass, $this->users[$user]['pass']); 77 * Return user info 79 * Returns info about the given user needs to contain 82 * name string full name of the user 67 checkPass($user, $pass) global() argument 90 getUserData($user, $requireGroups = true) global() argument 108 createUserLine($user, $pass, $name, $mail, $grps) global() argument 137 createUser($user, $pwd, $name, $mail, $grps = null) global() argument 173 modifyUser($user, $changes) global() argument 354 cleanUser($user) global() argument 455 filter($user, $info) global() argument [all...] |
/dokuwiki/conf/ |
H A D | mysql.conf.php.example | 27 $conf['plugin']['authmysql']['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} use [all...] |
/dokuwiki/inc/Extension/ |
H A D | AuthPlugin.php | 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'] 197 trustExternal($user, $pass, $sticky = false) global() argument 233 checkPass($user, $pass) global() argument 254 getUserData($user, $requireGroups = true) global() argument 279 createUser($user, $pass, $name, $mail, $grps = null) global() argument 295 modifyUser($user, $changes) global() argument 406 cleanUser($user) global() argument 456 useSessionCache($user) global() argument [all...] |
/dokuwiki/lib/plugins/authpdo/ |
H A D | auth.php | 47 $this->getConf('user'), 64 ['select-user', 'select-user-groups', 'select-groups', 'insert-user', 'insert-group', 'join-group'] 69 ['select-user', 'select-user-groups', 'select-groups', 'leave-group', 'delete-user'] 74 ['select-user', 'select-user-groups', 'update-user 162 checkPass($user, $pass) global() argument 202 getUserData($user, $requireGroups = true) global() argument 236 createUser($user, $clear, $name, $mail, $grps = null) global() argument 295 modifyUser($user, $changes) global() argument 509 selectUser($user) global() argument 551 deleteUser($user) global() argument [all...] |
/dokuwiki/lib/plugins/authad/ |
H A D | auth.php | 32 * // warn user about expiring password this many days in advance: 63 * @var array user listing cache 114 // trust the incoming user 148 * Check user+password [required auth function] 150 * Checks if the given user exists and the given 155 * @param string $user 159 public function checkPass($user, $pass) 163 $INPUT->server->str('REMOTE_USER') == $user && 167 $adldap = $this->initAdLdap($this->getUserDomain($user)); 171 return $adldap->authenticate($this->getUserName($user), 154 checkPass($user, $pass) global() argument 197 getUserData($user, $requireGroups = true) global() argument 316 cleanUser($user) global() argument 568 modifyUser($user, $changes) global() argument 652 getUserDomain($user) global() argument 666 getUserName($user) global() argument 764 filter($user, $info) global() argument [all...] |
H A D | action.php | 29 * Adds the selected domain as user postfix when attempting a login 43 $usr = $auth->cleanUser($event->data['user']); 49 $event->data['user'] = $usr; 80 // update user field value
|
/dokuwiki/lib/plugins/authad/adLDAP/classes/ |
H A D | adLDAPExchange.php | 57 * @param string $username The username of the user to add the Exchange account to 58 * @param array $storageGroup The mailbox, Exchange Storage Group, for the user account, this must be a full CN 60 * @param string $emailAddress The primary email address to add to this user 91 $result = $this->adldap->user()->modify($username, $attributes, $isGUID); 103 * @param string $username The username of the user to add the X400 to to 119 // Find the dn of the user 120 $user = $this->adldap->user()->info($username, array("cn","proxyaddresses"), $isGUID); 121 if ($user[0]["dn"] === NULL) { return false; } 122 $userDn = $user[ [all...] |
H A D | adLDAPUsers.php | 29 * @subpackage User 43 * USER FUNCTIONS 58 * Validate a user's login credentials 60 * @param string $username A user's AD username 61 * @param string $password A user's AD password 70 * Create a user 74 * @param array $attributes The attributes to set to the user account 104 $add["objectclass"][3] = "user"; //person? 165 * Delete a user account 183 * Groups the user i [all...] |
/dokuwiki/inc/ |
H A D | auth.php | 7 * a user by calling auth_login() 66 // degrade to unauthenticated user 77 // Populate Basic Auth user/password from Authorization header 92 // apply cleaning (auth specific user names, remove control chars) 109 'user' => $INPUT->str('u'), 125 * Loads the ACL setup and handle user wildcards 148 // substitute user wildcard first (its 1:1) 149 if (strstr($line, '%USER%')) { 150 // if user is not logged in, this ACL line is meaningless - skip it 153 $id = str_replace('%USER 207 auth_login($user, $pass, $sticky = false, $silent = false) global() argument 454 auth_ismanager($user = null, $groups = null, $adminonly = false, $recache = false) global() argument 514 auth_isadmin($user = null, $groups = null, $recache = false) global() argument 529 auth_isMember($memberlist, $user, array $groups) global() argument 596 auth_aclcheck($id, $user, $groups) global() argument 831 auth_sendPassword($user, $password) global() argument 1246 auth_setCookie($user, $pass, $sticky) global() argument [all...] |
H A D | deprecated.php | 393 * @param string|array $user 400 public function subscribers($page, $user = null, $style = null, $data = null) { 403 return $manager->subscribers($page, $user, $style, $data); 409 * This will automatically overwrite any existent subscription for the given user on this 414 * @param string $user 417 * @throws Exception when user or style is empty 422 public function add($id, $user, $style, $data = '') { 425 return $manager->add($id, $user, $style, $data); 436 * @param string|array $user 443 public function remove($id, $user 398 subscribers($page, $user = null, $style = null, $data = null) global() argument 420 add($id, $user, $style, $data = '') global() argument 441 remove($id, $user = null, $style = null, $data = null) global() argument 461 user_subscription($id = '', $user = '') global() argument [all...] |
/dokuwiki/lib/plugins/authldap/ |
H A D | auth.php | 21 protected $bound = 0; // 0: anonymous, 1: user, 2: superuser 23 /* @var array $users User data cache */ 26 /* @var array $pattern User filter pattern */ 48 * Check user+password 50 * Checks if the given user exists and the given 54 * @param string $user 59 public function checkPass($user, $pass) 65 // indirect user bind 81 ['user' => $user, 'serve 56 checkPass($user, $pass) global() argument 152 getUserData($user, $requireGroups = true) global() argument 162 fetchUserData($user, $inbind = false) global() argument 321 modifyUser($user, $changes) global() argument 482 filter($user, $info) global() argument [all...] |
/dokuwiki/lib/plugins/acl/ |
H A D | remote.php | 14 * @return array {Scope: ACL}, where ACL = dictionnary {user/group: permissions_int} 35 * @param string $user The user or group to apply the ACL to 40 public function addAcl($scope, $user, $level) 51 return $apa->addOrUpdateACL($scope, $user, $level); 58 * @param string $user The user or group the ACL applied to 62 public function delAcl($scope, $user) 73 return $apa->deleteACL($scope, $user); 67 addAcl($scope, $user, $level) global() argument 89 delAcl($scope, $user) global() argument
|
/dokuwiki/lib/plugins/usermanager/ |
H A D | admin.php | 8 * User Manager 12 * This version of the user manager has been modified to only work with 29 protected $filter = []; // user selection filter(s) 30 protected $start = 0; // index of first user to be displayed 31 protected $last = 0; // index of the last user to be displayed 33 protected $edit_user = ''; // set to user selected for editing 37 protected $lastdisabled = false; // set to true if last user is unknown and last button is hence buggy 114 * Handle user request 251 echo '<td><input type="text" name="userid" class="edit" value="' . $this->htmlFilter('user') . '" /></td>'; 260 foreach ($user_list as $user 377 htmlUserForm($cmd, $user = '', $userdata = array(), $indent = 0) global() argument 862 notifyUser($user, $password, $status_alert = true) global() argument 1192 importUser($user, & $error) global() argument [all...] |
H A D | plugin.info.txt | 5 name User Manager 6 desc Manage DokuWiki user accounts
|
H A D | cli.php | 28 $options->registerOption('verbose', 'Show detailed user information', 'v', false, 'list'); 31 $options->registerCommand('add', 'Add an user to auth backend'); 37 $options->registerOption('notify', 'Notify user', 'n', false, 'add'); 40 $options->registerCommand('delete', 'Deletes user(s) from auth backend'); 44 $options->registerCommand('addtogroup', 'Add user to group(s)'); 49 $options->registerCommand('removefromgroup', 'Remove user from group(s)'); 124 foreach ($list as $username => $user) { 127 $content[] = $user['name']; 128 $content[] = $user['mail']; 129 $content[] = implode(", ", $user['grp [all...] |
/dokuwiki/inc/Action/ |
H A D | Resendpwd.php | 83 // we're in token phase - get user info from token 99 $user = io_readfile($tfile); 100 $userinfo = $auth->getUserData($user, $requireGroups = false); 106 if (!$conf['autopasswd']) { // we let the user choose a password 117 if (!$auth->triggerUserMod('modify', [$user, ['pass' => $pass]])) { 122 $pass = auth_pwgen($user); 123 if (!$auth->triggerUserMod('modify', [$user, ['pass' => $pass]])) { 128 if (auth_sendPassword($user, $pass)) { 146 $user = trim($auth->cleanUser($INPUT->post->str('login'))); 149 $userinfo = $auth->getUserData($user, [all...] |
/dokuwiki/inc/Menu/ |
H A D | UserMenu.php | 8 * Actions related to the current user 12 protected $view = 'user';
|
/dokuwiki/bin/ |
H A D | dwpage.php | 35 'user', 36 'work as this user. defaults to current CLI user', 157 $this->username = $options->getOpt('user', $this->getUser()); 284 $this->error("Page $wiki_id is already locked by another user"); 308 $this->error("Page $wiki_id is locked by another user"); 338 * Get the current user's username from the environment 344 $user = getenv('USER'); 345 if (empty($user)) { [all...] |
/dokuwiki/inc/Remote/ |
H A D | ApiCore.php | 15 use dokuwiki\Remote\Response\User; 41 'core.login' => (new ApiCall([$this, 'login'], 'user'))->setPublic(), 42 'core.logoff' => new ApiCall([$this, 'logoff'], 'user'), 43 'core.whoAmI' => (new ApiCall([$this, 'whoAmI'], 'user')), 44 'core.aclCheck' => new ApiCall([$this, 'aclCheck'], 'user'), 120 // region user 125 * This will use the given credentials and attempt to login the user. This will set the 130 * @param string $user The user name 134 public function login($user, 740 aclCheck($id, $user = null, $groups = null) global() argument 1033 login($user, $pass) global() argument [all...] |