Home
last modified time | relevance | path

Searched +full:user -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 246) sorted by relevance

12345678910

/dokuwiki/lib/plugins/authpdo/conf/
H A Ddefault.php11 $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 Dmetadata.php11 $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/lib/plugins/authpdo/_test/
H A Dsqlite.test.php48 $conf['plugin']['authpdo']['user'] = '';
51 …lugin']['authpdo']['select-user'] = 'SELECT id AS uid, login AS user, name, pass AS clear, mail FR…
52 …$conf['plugin']['authpdo']['select-user-groups'] = 'SELECT * FROM member AS m, "group" AS g WHERE…
55 …$conf['plugin']['authpdo']['insert-user'] = 'INSERT INTO user (login, pass, name, mail) VALUES (:u…
56 $conf['plugin']['authpdo']['delete-user'] = 'DELETE FROM user WHERE id = :uid';
58 $conf['plugin']['authpdo']['list-users'] = 'SELECT DISTINCT login as user
59 FROM user U, member M, "group" G
63 AND U.login LIKE :user
70 FROM user U, member M, "group" G
74 AND U.login LIKE :user
[all …]
H A Dmysql.test.php14 protected $user = ''; variable in mysql_plugin_authpdo_test
27 $this->user = $conf['user'];
46 if(!$this->host || !$this->user) {
63 "{$this->driver}:host={$this->host};port={$this->port}", $this->user, $this->pass,
78 "{$this->driver}:host={$this->host};port={$this->port}", $this->user, $this->pass,
100 …>driver}:dbname={$this->database};host={$this->host};port={$this->port}", $this->user, $this->pass,
138 'user' => 'newuserfoobar',
145 $newuser['user'],
152 $check = $auth->getUserData($newuser['user']);
153 $this->assertEquals($newuser['user'], $check['user'], $info);
[all …]
/dokuwiki/inc/Subscriptions/
H A DSubscriberRegexBuilder.php12 * @param string|array $user
21 public function buildRegex($user = null, $style = null, $data = null) argument
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 = array_map(preg_quote_cb(...), $user);
43 $user = implode('|', $user);
48 if ($user . $style . $data === '') {
55 if ($user === '') {
[all …]
H A DSubscriberManager.php24 * 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 = '') argument
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 $style $data\n";
74 * @param string|array $user
[all …]
/dokuwiki/lib/plugins/usermanager/
H A Dremote.php17 * Create a new user
19 * If no password is provided, a password is auto generated. If the user can't be created
25 * @param string $user The user's login name
26 * @param string $name The user's full name
27 * @param string $mail The user's email address
28 * @param string[] $groups The groups the user should be in
29 * @param string $password The user's password, empty for autogeneration
30 * @param bool $notify Whether to send a notification email to the user
31 * @return bool Wether the user was successfully created
36 public function createUser($user, $name, $mail, $groups, $password = '', $notify = false) argument
[all …]
/dokuwiki/lib/plugins/authpdo/_test/mysql/
H A Dfluxbb.php3 …ion for fluxbb. They have a very simplistic model. There is no separate display name and a user can
10 'select-user' => '
12 username AS user,
17 WHERE username = :user
19 'select-user-groups' => '
29 'insert-user' => '
32 VALUES (0, :user, :hash, :mail)
34 'delete-user' => '
39 SELECT DISTINCT username AS user
43 AND U.username LIKE :user
[all …]
H A Dwordpress.php12 'select-user' => '
14 user_login AS user,
19 WHERE user_login = :user
21 'select-user-groups' => '
28 'insert-user' => '',
29 'delete-user' => '',
31 SELECT DISTINCT user_login AS user
36 AND U.user_login LIKE :user
49 AND U.user_login LIKE :user
53 'update-user-info' => '
[all …]
H A Dmybb.php13 'select-user' => '
15 username AS user,
19 WHERE username = :user
24 WHERE username = :user
27 'select-user-groups' => '
39 'insert-user' => '
43 …VALUES (:user, :mail, @salt, MD5(CONCAT(MD5(@salt), MD5(:clear))), UNIX_TIMESTAMP() ) …
45 'delete-user' => '
50 SELECT U.username AS user
55 AND U.username LIKE :user
[all …]
/dokuwiki/lib/plugins/authplain/_test/conf/
H A Dauth.users.php12 user_1:$1$tGu7CW5z$VpsMjRIx5tbyOJaQ2SP23.:Admin:admin@example.com:user,first_group
13 user_2:$1$2uJ5C3ib$edo0EDEb/yLAFHme7RK851:User 2:user2@example.com:user,second_group,third_group
14 user_3:$1$yqnlDqgZ$Sste968uKhuxH6wIQt6/D/:User 3:user3@example.com:user,fourth_group,first_group,th…
15 user_4:$1$tXjajS9s$peoGPBQep.P245H1Lfloj0:User 4:user4@example.com:user,third_group
16 user_5:$1$IWrqdhol$xXOmufjZ2hW1aAVp7zDP.1:User 5:user5@example.com:user,second_group,fifth_group
/dokuwiki/conf/
H A Dmysql.conf.php.example27 $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} user name
87 WHERE login='%{user}'";
[all …]
/dokuwiki/lib/plugins/authplain/
H A Dauth.php17 /** @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) argument
70 $userinfo = $this->getUserData($user);
76 return auth_verifyPassword($pass, $this->users[$user]['pass']);
80 * Return user info
82 * Returns info about the given user needs to contain
85 * name string full name of the user
[all …]
/dokuwiki/lib/plugins/authplain/_test/
H A Descaping.test.php5 * correct escaping of colon field delimiters and backslashes in user content.
45 $this->auth->createUser("mwuser", "12345", "Mediawiki User", "me@example.com");
50 $this->assertEquals("Mediawiki User",$mwuser['name']);
54 $name = ":Colon: User:";
57 $user = $this->auth->getUserData("colonuser");
58 $this->assertEquals($name,$user['name']);
62 $name = "\\Slash\\ User\\";
65 $user = $this->auth->getUserData("slashuser");
66 $this->assertEquals($name,$user['name']);
70 $name = "Hash # User";
[all …]
/dokuwiki/_test/tests/inc/
H A Dparserutils_set_metadata.test.php11 * Set up fake user environment with for the gieven user
13 * @param string $user
15 function helper_prepare_user($user = '1') { argument
24 'grps' => array('admin', 'user'),
31 'grps' => array('user'),
34 if(!isset($users[$user])) throw new RuntimeException('requested non-existing user');
38 $USERINFO = $users[$user];
40 $_SERVER['REMOTE_USER'] = $user;
47 // prepare user
55 $this->assertEquals('1', $meta['user'], 'Initial page has wrong user ID');
[all …]
/dokuwiki/lib/plugins/usermanager/_test/
H A DRemoteApiTest.php45 'user' => 'user1',
47 'name' => 'user one',
50 'user',
62 // try again should fail, because user already exists
74 'user' => 'user1',
76 'name' => 'user one',
79 'user',
98 'user' => '',
100 'name' => 'user one',
103 'user',
[all …]
H A Dcsv_import.test.php15 * At present, users imported in individual tests remain in the user list for subsequent tests
68 …NewUsers, $this->stripPasswords($new_users)); // new user data matches imported user data
83 $csv = 'User,"Real Name",Email,Groups
84 importuser,"Ford Prefect",ford@example.com,user
94 $csv = 'User,"Real Name",Email,Groups
95 importuser,"Ford Prefect",ford@example.com,user
101 'grps' => array('user'),
110 $csv = 'User,"Real Name",Email,Groups
111 importuser,"Ford Prefect",ford@example.com,user
116 'user' => array(
[all …]
/dokuwiki/inc/
H A DJWT.php10 protected $user; variable in dokuwiki\\JWT
19 * @param string $user
22 protected function __construct($user, $issued) argument
24 $this->user = $user;
78 $user = $payload['sub'];
79 $file = self::getStorageFile($user);
88 return new self($user, $payload['iat']);
92 * Create a new instance from a user
96 * @param $user
99 public static function fromUser($user) argument
[all …]
/dokuwiki/inc/Extension/
H A DAuthPlugin.php35 '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) argument
209 $_SERVER['REMOTE_USER'] = $user;
210 $_SESSION[DOKU_COOKIE]['auth']['user'] = $user;
[all …]
/dokuwiki/lib/plugins/authpdo/_test/pgsql/
H A Ddjango.php10 'select-user' => '
12 username AS "user",
17 WHERE username = :user
19 'select-user-groups' => '
29 'insert-user' => '
32 …VALUES (:hash, false, :user, SPLIT_PART(:name,\' \',1), SPLIT_PART(:name,\' \',2), :mail, false, t…
34 'delete-user' => '
42 SELECT DISTINCT U.username AS "user"
47 AND U.username LIKE :user
60 AND U.username LIKE :user
[all …]
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php47 $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-login']
79 ['select-user', 'select-user-groups', 'update-user-pass']
84 ['select-user', 'select-user-groups', 'update-user-info:name']
89 ['select-user', 'select-user-groups', 'update-user-info:mail']
94 …['select-user', 'select-user-groups', 'select-groups', 'leave-group', 'join-group', 'insert-group']
116 * Check user+password
118 * @param string $user the user name
[all …]
/dokuwiki/lib/plugins/authad/
H A Dauth.php33 * // warn user about expiring password this many days in advance:
64 * @var array user listing cache
115 // trust the incoming user
149 * Check user+password [required auth function]
151 * Checks if the given user exists and the given
156 * @param string $user
160 public function checkPass($user, $pass) argument
164 $INPUT->server->str('REMOTE_USER') == $user &&
168 $adldap = $this->initAdLdap($this->getUserDomain($user));
172 return $adldap->authenticate($this->getUserName($user), $pass);
[all …]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPExchange.php57 * @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 …
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[0]["dn"];
146 * @param string $username The username of the user to add the Exchange account to
[all …]
/dokuwiki/inc/Remote/Response/
H A DUser.php6 * Represents a user
8 class User extends ApiResponse class
10 /** @var string The login name of the user */
12 /** @var string The full name of the user */
14 /** @var string The email address of the user */
16 /** @var string[] The groups the user is in */
18 /** @var bool Whether the user is a super user */
20 /** @var bool Whether the user is a manager */
24 * @param string $login defaults to the current user
45 throw new \RuntimeException('No user available');
[all …]
/dokuwiki/lib/plugins/acl/
H A Dremote.php14 * @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) argument
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) argument
73 return $apa->deleteACL($scope, $user);

12345678910