Lines Matching refs:token
215 [$type, $token] = sexplode(' ', $headers['authorization'], 2);
216 if ($type !== 'Bearer') $token = ''; // not the token we want
221 $token = $headers['x-dokuwiki-token'];
224 if (empty($token)) return false;
228 $authtoken = JWT::validate($token);
1226 $token = preg_replace('/[^a-f0-9]+/', '', $INPUT->str('pwauth'));
1228 if ($token) {
1231 $tfile = $conf['cachedir'] . '/' . $token[0] . '/' . $token . '.pwauth';
1302 $token = md5(auth_randombytes(16)); // random secret
1303 $tfile = $conf['cachedir'] . '/' . $token[0] . '/' . $token . '.pwauth';
1304 $url = wl('', ['do' => 'resendpwd', 'pwauth' => $token], true, '&');