Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z

A |
| authorisePost
C |
| createNewJsCache
F |
| failedValidationAction
G |
| generateAuthToken
| getCurrentUrl
I |
| init
| isURLallowed
L |
| logCSRFattack
O |
| ob_handler
R |
| refreshToken
U |
| useCachedVersion

> public static function authorisePost()

function to authorise incoming post requests

> public static function createNewJsCache()

Function to create new cache version of js

> private static function failedValidationAction()

function to be called in case of failed validation performs logging and take appropriate action

> public static function generateAuthToken()

function to generate random hash of length as given in parameter max length = 128

> private static function getCurrentUrl()

Function to return current url of executing page

> public static function init( | $length | = | null,
> | $action | = | null | )

function to initialise the csrfProtector work flow

> public static function isURLallowed()

Function to check if a url mataches for any urls Listed in config file

> private static function logCSRFattack()

Functio to log CSRF Attack

> public static function ob_handler( | $buffer,
> | $flags | )

Rewrites form on the fly to add CSRF tokens to them.

> public static function refreshToken()

Function to set auth cookie

> public static function useCachedVersion()

function to check weather to use cached version of js file or not
Close