Skip to content

Documentation CSRF Protector php library

minhaz edited this page Jun 30, 2014 · 3 revisions

csrfProtector Interface

Purpose:
This class contains all functions (static) needed to validate incoming requests and inject scripts to ongoing HTML output.
Uses/Interactions:
This class is invoked at the beginning of each php file, in which user expects to implement CSRF protection.
Dependencies:
The library requires a configuration file at a location relative to location of the library file. No other dependency!.

Note:All following methods will be static as we do not need to create an object of this class!
Clone this wiki locally