| /dokuwiki/_test/tests/inc/ |
| H A D | JWTTest.php | 13 // no token file yet 17 // initialize a new token 21 $token = $jwt->getToken(); 24 // validate the token 25 $jwt = JWT::validate($token); 30 // next access should get the same token 32 $this->assertEquals($token, $jwt->getToken()); 35 // saving should create a new token 38 $this->assertNotEquals($token, $jwt->getToken()); 52 $token = $jwt->getToken(); [all …]
|
| H A D | auth_deleteprofile.test.php | 14 …* 5. Any of invalid security token, missing/not set 'delete' flag, missing/unchecked 'confirm_del…
|
| /dokuwiki/inc/ |
| H A D | JWT.php | 39 * Create a new instance from a token 41 * @param $token 45 public static function validate($token) argument 47 [$header, $payload, $signature] = sexplode('.', $token, 3, ''); 84 if (file_get_contents($file) !== $token) { 94 * Loads an existing token if available 110 $token = new self($user, time()); 111 $token->save(); 112 return $token; 117 * Get the JWT token for this instance [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)) . ':'; 772 foreach ($tokens as $token) { 773 if ($token === '(') { 777 } elseif ($token === '-(') { 781 } elseif ($token === ')') { 786 } elseif ($token === 'and') { [all …]
|
| H A D | auth.php | 182 * Try a token login 184 * @return bool true if token login succeeded 215 [$type, $token] = sexplode(' ', $headers['authorization'], 2); 216 if ($type !== 'Bearer') $token = ''; // not the token we want 219 // check x-dokuwiki-token header 220 if (isset($headers['x-dokuwiki-token'])) { 221 $token = $headers['x-dokuwiki-token']; 224 if (empty($token)) return false; 226 // check token 228 $authtoken = JWT::validate($token); [all …]
|
| H A D | fetch.functions.php | 156 //check token for external image and additional for resized and cached images 171 // check token for resized images
|
| /dokuwiki/_test/tests/lib/exe/ |
| H A D | fetch_imagetoken.test.php | 35 return '/lib/exe/fetch.php?'.$w.$h.'{%token%}media='.$this->media; 38 function fetchResponse($token){ argument 40 return $request->get(array(),str_replace('{%token%}',$token,$this->getUri())); 44 * modified image request with valid token 60 * modified image request with invalid token 69 * modified image request with no token 78 * native image request which doesn't require a token 79 * try: with a token & without a token 88 foreach(array($any_token, $no_token) as $token) { 89 $response = $this->fetchResponse($token);
|
| H A D | fetch_statuscodes_external.test.php | 34 return '/lib/exe/fetch.php?'.$w.$h.'{%token%}media='.rawurlencode($this->media); 37 function fetchResponse($token) { argument 39 return $request->get(array(), str_replace('{%token%}', $token, $this->getUri())); 43 * modified image request with valid token 44 * and not-modified image request with valid token 78 * modified image request with invalid token 94 * modified image request with no token 95 * and not modified image with no token
|
| /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 = 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); 47 * @params string $token cleaned pwauth request variable 50 protected function formSetNewPassword($token) argument 58 $form->setHiddenField('token', $token);
|
| H A D | UserProfile.php | 163 * Get the authentication token form 172 $token = JWT::fromUser($user); 179 …$form->addHTML('<p><code style="display: block; word-break: break-word">' . $token->getToken() . '…
|
| /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/Parsing/Lexer/ |
| H A D | Lexer.php | 47 * Adds a token search pattern for a particular parsing mode. 100 * parser handler for this token only. 104 * @param string $special Use this mode for this one token. 129 * unparsed and parsed token invokes a call to the held listener. 172 * Sends the matched token and any leading unmatched 177 * @param string $matched Actual token match. 221 … * Test to see if the mode is one where this mode is entered for this token only and automatically 233 * Strips the magic underscore marking single token modes. 249 * @param boolean $is_match Token is recognised rather 281 * recognised token and finally the action the parser is to take.
|
| /dokuwiki/inc/parser/ |
| H A D | parser.php | 21 // modes where the token is simply replaced - they can not contain any 27 // modes which have a start and end token but inside which
|
| /dokuwiki/.github/workflows/ |
| H A D | todoChecker.yml | 20 token: ${{ secrets.GITHUB_TOKEN }}
|
| H A D | release-build.yml | 34 # a privileged token is needed here to create the (protected) tag 35 github-token: ${{ secrets.RELEASE_TOKEN }}
|
| /dokuwiki/lib/plugins/extension/ |
| H A D | action.php | 60 echo 'Security Token did not match. Possible CSRF attack.';
|
| /dokuwiki/inc/lang/en/ |
| H A D | lang.php | 112 $lang['proftokenlegend'] = 'Authentication Token'; 113 $lang['proftokengenerate'] = 'Reset Token'; 114 …Token can be used to let 3rd party applications to log in and act on your behalf. Resetting the to…
|
| /dokuwiki/inc/lang/pt-br/ |
| H A D | lang.php | 175 $lang['proftokenlegend'] = 'Token de Autenticação'; 176 $lang['proftokengenerate'] = 'Redefinir Token'; 177 …token de autenticação pode ser usado para permitir que aplicativos de terceiros façam login e atue…
|
| /dokuwiki/inc/lang/de/ |
| H A D | lang.php | 189 $lang['proftokenlegend'] = 'Zugangs-Token'; 190 $lang['proftokengenerate'] = 'Rücksetz-Token'; 191 …Token kann von Dritten benutzt werden, um Aktionen in Deinem Namen durchzuführen. Wird das Token z…
|
| /dokuwiki/inc/lang/pt/ |
| H A D | lang.php | 164 $lang['proftokenlegend'] = 'Token de autenticação'; 165 $lang['proftokengenerate'] = 'Token para limpar'; 166 …Token de Autenticação pode ser usado para permitir que aplicativos de terceiros façam login e atue…
|
| /dokuwiki/inc/lang/ca/ |
| H A D | lang.php | 157 $lang['proftokenlegend'] = 'Token d\'autenticació'; 158 $lang['proftokengenerate'] = 'Token de reseteig'; 159 …token d\'autenticació pot ser usat per aplicacions de 3ers per a identificar-se i actual en el teu…
|
| /dokuwiki/vendor/geshi/geshi/src/geshi/ |
| H A D | go.php | 248 'tls.Listener', 'token.Position', 'token.Token', 'unicode.CaseRange', 256 'xml.SyntaxError', 'xml.Token', 'xml.UnmarshalError', 'xtea.Cipher',
|
| /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"
|