Searched refs:token (Results 1 – 9 of 9) sorted by path
/dokuwiki/inc/Action/ |
H A D | Resendpwd.php | 59 * - validating the password reset auth token 80 $token = preg_replace('/[^a-f0-9]+/', '', $INPUT->str('pwauth')); 82 if ($token) { 83 // we're in token phase - get user info from token 85 $tfile = $conf['cachedir'] . '/' . $token[0] . '/' . $token . '.pwauth'; 91 // token is only valid for 3 days 155 // generate auth token 156 $token [all...] |
/dokuwiki/inc/Ui/ |
H A D | UserResendPwd.php | 27 $token = preg_replace('/[^a-f0-9]+/', '', $INPUT->str('pwauth')); 33 if (!$conf['autopasswd'] && $token) { 34 $form = $this->formSetNewPassword($token); 47 * @params string $token cleaned pwauth request variable 50 protected function formSetNewPassword($token) argument 58 $form->setHiddenField('token', $token);
|
/dokuwiki/inc/ |
H A D | auth.php | 176 * Try a token login 178 * @return bool true if token login succeeded 188 // see if header has token 198 [$type, $token] = sexplode(' ', $header, 2); 201 // check token 203 $authtoken = JWT::validate($token); 1177 * - validating the password reset auth token 1200 $token = preg_replace('/[^a-f0-9]+/', '', $INPUT->str('pwauth')); 1202 if ($token) { 1203 // we're in token phas [all...] |
H A D | common.php | 98 * Return a secret token to be used for CSRF attack prevention 120 * Check the secret CSRF token 122 * @param null|string $token security token or null to read it from request variable 123 * @return bool success if the token matched 125 function checkSecurityToken($token = null) 131 if (is_null($token)) $token = $INPUT->str('sectok'); argument 132 if (getSecurityToken() != $token) { 140 * Print a hidden form field with a secret CSRF token [all...] |
H A D | fulltext.php | 84 foreach ($q['parsed_ary'] as $token) { 85 switch (substr($token, 0, 3)) { 89 $word = substr($token, 3); 96 $phrase = substr($token, 3); 124 $ns = cleanID(substr($token, 3)) . ':'; 768 foreach ($tokens as $token) { 769 if ($token === '(') { 773 } elseif ($token === '-(') { 777 } elseif ($token === ')') { 782 } elseif ($token [all...] |
H A D | infoutils.php | 586 if (preg_match('/(notify|pass|auth|secret|ftp|userinfo|token|buid|mail|proxy)/i', $key)) {
|
H A D | media.php | 1845 * Calculate a token to be used to verify fetch requests for resized or 1854 * @return string token or empty string if no token required 1858 // token is only required for modified images 1860 $token = $id; 1861 if ($w) $token .= '.' . $w; 1862 if ($h) $token .= '.' . $h; 1864 return substr(PassHash::hmac('md5', $token, auth_cookiesalt()), 0, 6);
|
/dokuwiki/vendor/geshi/geshi/src/ |
H A D | geshi.php | 4580 // go through all entries of the list and generate the token list 4593 // properly assign the new entry to the correct position in the token array 4683 * this function creates the appropriate regexp string of an token array 4694 foreach ($tokens as $token => $sub_tokens) { 4695 $list .= $token;
|
/dokuwiki/vendor/marcusschwarz/lesserphp/ |
H A D | lessc.inc.php |
|