Lines Matching defs:token
100 * Return a secret token to be used for CSRF attack prevention
122 * Check the secret CSRF token
124 * @param null|string $token security token or null to read it from request variable
125 * @return bool success if the token matched
127 function checkSecurityToken($token = null)
133 if (is_null($token)) $token = $INPUT->str('sectok');
134 if (getSecurityToken() != $token) {
142 * Print a hidden form field with a secret CSRF token
615 // add token for resized images