Home
last modified time | relevance | path

Searched refs:pass (Results 1 – 25 of 27) sorted by relevance

12

/dokuwiki/_test/mock/
H A DAuthDeletePlugin.php16 public function checkPass($user, $pass) { argument
17 return $pass == 'password';
/dokuwiki/inc/Action/
H A DResendpwd.php107 $pass = $INPUT->str('pass');
110 if (!$pass) return false;
111 if ($pass != $INPUT->str('passchk')) {
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)) {
/dokuwiki/inc/Extension/
H A DAuthPlugin.php190 * @param string $pass Cleartext Password
195 public function trustExternal($user, $pass, $sticky = false) argument
228 * @param string $pass the clear text password
231 public function checkPass($user, $pass) argument
271 * @param string $pass
277 public function createUser($user, $pass, $name, $mail, $grps = null) argument
/dokuwiki/inc/
H A Dauth.php286 * @param string $pass Cleartext Password
294 function auth_login($user, $pass, $sticky = false, $silent = false) argument
308 …if (!empty($pass)) usleep(random_int(0, 250)); // add a random delay to prevent timing attacks #44…
309 if (!empty($pass) && $auth->checkPass($user, $pass)) {
313 auth_setCookie($user, auth_encrypt($pass, $secret), $sticky);
326 [$user, $sticky, $pass] = auth_getCookie();
327 if ($user && $pass) {
338 ($session['pass'] == sha1($pass)) && //still crypted
349 $pass = auth_decrypt($pass, $secret);
350 return auth_login($user, $pass, $sticky, true);
[all …]
H A Dinfoutils.php643 if (preg_match('/(notify|pass|auth|secret|ftp|userinfo|token|buid|mail|proxy)/i', $key)) {
/dokuwiki/lib/plugins/authplain/
H A Dauth.php65 * @param string $pass
68 public function checkPass($user, $pass) argument
76 return auth_verifyPassword($pass, $this->users[$user]['pass']);
106 * @param string $pass
112 protected function createUserLine($user, $pass, $name, $mail, $grps) argument
115 $userline = [$user, $pass, $name, $mail, $groups];
153 $pass = auth_cryptPassword($pwd);
159 $userline = $this->createUserLine($user, $pass, $name, $mail, $grps);
167 'pass' => $pass,
/dokuwiki/_test/
H A Dmysql.conf.php.dist9 $conf['pass'] = '';
H A Dpgsql.conf.php.dist9 $conf['pass'] = 'postgres';
/dokuwiki/_test/tests/inc/
H A Dhttpclient_http.test.php217 $http->pass = 'pass';
218 $data = $http->get($this->server . '/basic-auth/user/pass');
236 $data = $http->get($this->server . '/basic-auth/user/pass');
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php155 [$login, $mail, $name, $grps, $pass] = $args;
159 if (empty($pass)) {
161 $pass = auth_pwgen($login);
168 } elseif (!empty($pass)) {
174 if ($auth->triggerUserMod('create', [$login, $pass, $name, $mail, $grps])) {
H A Dadmin.php647 [$user, $pass, $name, $mail, $grps, $passconfirm] = $this->retrieveUser();
651 if (empty($pass)) {
653 $pass = auth_pwgen($user);
659 } elseif (!$this->verifyPassword($pass, $passconfirm)) {
664 } elseif (!empty($pass)) {
694 if ($ok = $this->auth->triggerUserMod('create', [$user, $pass, $name, $mail, $grps])) {
697 if ($INPUT->has('usernotify') && $pass) {
698 $this->notifyUser($user, $pass);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/
H A DStream.php189 $pass = $context[$scheme]['password'];
192 $pass = $context[$scheme]['privkey'];
195 if (!isset($user) || !isset($pass)) {
200 if (isset(self::$instances[$host][$port][$user][(string) $pass])) {
201 $this->sftp = self::$instances[$host][$port][$user][(string) $pass];
217 if (!$this->sftp->login($user, $pass)) {
223 if (!$this->sftp->login($user, $pass)) {
227 self::$instances[$host][$port][$user][(string) $pass] = $this->sftp;
/dokuwiki/lib/plugins/authpdo/_test/
H A Dmysql.test.php15 protected $pass = ''; variable in mysql_plugin_authpdo_test
28 $this->pass = $conf['pass'];
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,
303 $conf['plugin']['authpdo']['pass'] = $this->pass;
/dokuwiki/lib/plugins/usermanager/_test/
H A DAuthPlugin.php35 $pass = md5($pwd);
/dokuwiki/conf/
H A Dmysql.conf.php.example10 * uid login pass firstname lastname email
59 * The plugin accesses the password as 'pass' so an alias might be necessary.
63 * %{pass} encrypted or clear text password (depends on 'encryptPass')
66 $conf['plugin']['authmysql']['checkPass'] = "SELECT pass
75 * 'pass' containing the encrypted or clear text password
85 $conf['plugin']['authmysql']['getUserInfo'] = "SELECT pass, CONCAT(firstname,' ',lastname) AS name,…
140 * %{pass} password (encrypted or clear text, depends on 'encryptPass')
145 (login, pass, email, firstname, lastname)
146 VALUES ('%{user}', '%{pass}', '%{email}',
216 * %{pass} password (encrypted or clear text, depends on 'encryptPass')
[all …]
/dokuwiki/lib/plugins/authldap/
H A Dauth.php55 * @param string $pass
59 public function checkPass($user, $pass) argument
62 if (empty($pass)) return false;
99 if (!@ldap_bind($this->con, $dn, $pass)) {
116 if (!@ldap_bind($this->con, $dn, $pass)) {
344 $pass = auth_decrypt($loginpass, $secret);
347 if (!@ldap_bind($this->con, $dn, $pass)) {
/dokuwiki/inc/lang/no/
H A Dstopwords.txt2 # Når du redigerer siden, pass på å bruke UNIX linjeslutt (enkel ny linje).
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php119 * @param string $pass the clear text password
122 public function checkPass($user, $pass) argument
133 $userdata['clear'] = $pass;
134 $userdata['hash'] = auth_cryptPassword($pass);
144 return $passhash->verify_hash($pass, $userdata['hash']);
147 return ($pass === $userdata['clear']);
/dokuwiki/vendor/splitbrain/php-cli/
H A DREADME.md99 The table formatter allows coloring full columns. To use that mechanism pass an array of colors as …
100 its ``format()`` method. Please note that you can not pass colored texts in the second parameters (…
133 If you need to pass a class implementing the `Psr\Log\LoggerInterface` you can do so by inheriting …
140 …pe check for the interface (AKA being LoggerAware only) you can also just pass an instance of `spl…
/dokuwiki/inc/Remote/
H A DApiCore.php132 * @param string $pass The password
135 public function login($user, $pass) argument
147 $ok = $auth->trustExternal($user, $pass, false);
152 'password' => $pass,
H A DLegacyApiCore.php546 public function legacyLogin($user, $pass) argument
548 return parent::login($user, $pass);
/dokuwiki/
H A Dinstall.php416 $pass = $phash->hash_bcrypt($d['password']);
436 $pass,
/dokuwiki/lib/plugins/authad/
H A Dauth.php156 * @param string $pass
159 public function checkPass($user, $pass) argument
171 return $adldap->authenticate($this->getUserName($user), $pass);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBlowfish.php493 * @param string $pass
500 public static function bcrypt_pbkdf($pass, $salt, $keylen, $rounds) argument
508 $sha2pass = hash('sha512', $pass, true);
/dokuwiki/inc/HTTP/
H A DHTTPClient.php48 public $pass; variable in dokuwiki\\HTTP\\HTTPClient
186 if (isset($uri['pass'])) $this->pass = $uri['pass'];
240 $headers['Authorization'] = 'Basic ' . base64_encode($this->user . ':' . $this->pass);

12