| /dokuwiki/_test/tests/inc/ |
| H A D | JWTTest.php | 21 $token = $jwt->getToken(); 25 $jwt = JWT::validate($token); 32 $this->assertEquals($token, $jwt->getToken()); 38 $this->assertNotEquals($token, $jwt->getToken()); 52 $token = $jwt->getToken(); 58 JWT::validate($token); 64 $token = $jwt->getToken(); 70 JWT::validate($token);
|
| /dokuwiki/inc/Remote/OpenApiDoc/ |
| H A D | ClassResolver.php | 110 foreach ($tokens as $token) { 111 if (!is_array($token)) { 123 $tokenname = token_name($token[0]); 125 if ($token[0] === T_CLASS) { 129 if ($token[0] === T_USE) { 134 if ($token[0] === T_AS) { 140 switch ($token[0]) { 144 $currentUse[$record] .= $token[1];
|
| /dokuwiki/inc/Action/ |
| H A D | Resendpwd.php | 80 $token = preg_replace('/[^a-f0-9]+/', '', $INPUT->str('pwauth')); 82 if ($token) { 85 $tfile = $conf['cachedir'] . '/' . $token[0] . '/' . $token . '.pwauth'; 156 $token = md5(auth_randombytes(16)); // random secret 157 $tfile = $conf['cachedir'] . '/' . $token[0] . '/' . $token . '.pwauth'; 158 $url = wl('', ['do' => 'resendpwd', 'pwauth' => $token], true, '&');
|
| H A D | Authtoken.php | 30 $token = JWT::fromUser($INPUT->server->str('REMOTE_USER')); 31 $token->save();
|
| /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); 50 protected function formSetNewPassword($token) argument 58 $form->setHiddenField('token', $token);
|
| H A D | UserProfile.php | 172 $token = JWT::fromUser($user); 179 …$form->addHTML('<p><code style="display: block; word-break: break-word">' . $token->getToken() . '…
|
| /dokuwiki/inc/ |
| 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)) . ':'; 772 foreach ($tokens as $token) { 773 if ($token === '(') { 777 } elseif ($token === '-(') { 781 } elseif ($token === ')') { 786 } elseif ($token === 'and') { [all …]
|
| H A D | JWT.php | 45 public static function validate($token) argument 47 [$header, $payload, $signature] = sexplode('.', $token, 3, ''); 84 if (file_get_contents($file) !== $token) { 110 $token = new self($user, time()); 111 $token->save(); 112 return $token;
|
| H A D | auth.php | 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'; [all …]
|
| H A D | common.php | 126 * @param null|string $token security token or null to read it from request variable 129 function checkSecurityToken($token = null) argument 135 if (is_null($token)) $token = $INPUT->str('sectok'); 136 if (getSecurityToken() != $token) {
|
| H A D | infoutils.php | 643 if (preg_match('/(notify|pass|auth|secret|ftp|userinfo|token|buid|mail|proxy)/i', $key)) {
|
| H A D | media.php | 1868 $token = $id; 1869 if ($w) $token .= '.' . $w; 1870 if ($h) $token .= '.' . $h; 1872 return substr(PassHash::hmac('md5', $token, auth_cookiesalt()), 0, 6);
|
| /dokuwiki/_test/tests/lib/exe/ |
| H A D | fetch_statuscodes_external.test.php | 34 return '/lib/exe/fetch.php?'.$w.$h.'{%token%}media='.rawurlencode($this->media); 39 return $request->get(array(), str_replace('{%token%}', $token, $this->getUri()));
|
| H A D | fetch_imagetoken.test.php | 38 function fetchResponse($token){ argument 40 return $request->get(array(),str_replace('{%token%}',$token,$this->getUri())); 88 foreach(array($any_token, $no_token) as $token) { 89 $response = $this->fetchResponse($token);
|
| /dokuwiki/vendor/splitbrain/php-jsstrip/ |
| H A D | composer.lock | 270 "phpunit/php-token-stream": "^3.1.3 || ^4.0", 488 "name": "phpunit/php-token-stream", 492 "url": "https://github.com/sebastianbergmann/php-token-stream.git", 497 …"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/a853a0e183b9db7eed… 530 "homepage": "https://github.com/sebastianbergmann/php-token-stream/", 535 "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", 536 "source": "https://github.com/sebastianbergmann/php-token-stream/tree/master"
|
| /dokuwiki/vendor/splitbrain/slika/ |
| H A D | composer.lock | 493 "phpunit/php-token-stream": "^3.1.1 || ^4.0", 711 "name": "phpunit/php-token-stream", 715 "url": "https://github.com/sebastianbergmann/php-token-stream.git", 720 …"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/a853a0e183b9db7eed… 753 "homepage": "https://github.com/sebastianbergmann/php-token-stream/", 758 "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", 759 "source": "https://github.com/sebastianbergmann/php-token-stream/tree/master"
|
| /dokuwiki/vendor/splitbrain/lesserphp/src/ |
| H A D | Parser.php | 1478 foreach ($look as $token) { 1479 $pos = strpos($text, $token); 1481 if (!isset($min) || $pos < $min[1]) $min = [$token, $pos];
|
| /dokuwiki/vendor/geshi/geshi/src/ |
| H A D | geshi.php | 4694 foreach ($tokens as $token => $sub_tokens) { 4695 $list .= $token;
|