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