Lines Matching defs:password

77     // Populate Basic Auth user/password from Authorization header
110 'password' => $INPUT->str('p'),
246 $evdata['password'],
256 * a new login is assumed and user/password are checked. If they
257 * are correct the password is encrypted with blowfish and stored
263 * crypted password and browserID match between session and cookie
267 * blowfish encrypted password from the cookie is decrypted and
374 * Creates a random key to encrypt the password in cookies
376 * This function tries to read the password for encrypting
445 * @param string $secret The secret/password that shall be used
471 * @param string $secret The secret/password that shall be used
892 * Create a pronouncable password
894 * The $foruser variable might be used by plugins to run additional password
897 * @param string $foruser username for which the password is generated
898 * @return string pronouncable password
909 'password' => '',
922 $data['password'] .= $c[auth_random(0, strlen($c) - 1)];
923 $data['password'] .= $v[auth_random(0, strlen($v) - 1)];
924 $data['password'] .= $a[auth_random(0, strlen($a) - 1)];
927 $data['password'] .= $s[auth_random(0, strlen($s) - 1)] . auth_random(10, 99);
931 return $data['password'];
935 * Sends a password to the given user
940 * @param string $password The new password in clear text
943 function auth_sendPassword($user, $password)
955 $text = rawLocale('password');
959 'PASSWORD' => $password
1003 $pass = auth_pwgen($login); // automatically generate password
1034 // autogenerated password? then send password to user
1184 * Send a new password
1186 * This function handles both phases of the password reset:
1188 * - handling the first request of password reset
1189 * - validating the password reset auth token
1238 if (!$conf['autopasswd']) { // we let the user choose a password
1241 // password given correctly?
1253 } else { // autogenerate the password and send by mail
1312 * Encrypts a password using the given method and salt
1319 * @param string $clear The clear text password
1322 * @return string The crypted password
1341 * Verifies a cleartext password against a crypted hash
1343 * @param string $clear The clear text password
1360 * @param string $pass encrypted password
1397 * Returns the user, (encrypted) password and sticky bit from cookie