LEPTON CMS 7.0.0
feel free to keep it strictly simple...
|
Public Member Functions | |
__construct () | |
_generate_salt () | |
createLepToken () | |
checkLepToken () | |
Static Public Member Functions | |
static | clearLepTokens () |
Data Fields | |
string | $_salt = '' |
string | $_reftoken = '' |
This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.
NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.
Definition at line 20 of file lepton_securecms.php.
__construct | ( | ) |
Constructor of the class.
Definition at line 29 of file lepton_securecms.php.
_generate_salt | ( | ) |
Generating the "salt" within $_SERVER vars|keys.
Definition at line 38 of file lepton_securecms.php.
checkLepToken | ( | ) |
checks received token against session-stored tokens @access public
Requirements: an active session must be available this check will prevent from multiple sending a form. history.back() also will never work
Definition at line 87 of file lepton_securecms.php.
|
static |
Definition at line 168 of file lepton_securecms.php.
createLepToken | ( | ) |
creates Tokens for CSRF protection @access public
requirements: an active session must be available should be called only once for a page!
Definition at line 59 of file lepton_securecms.php.
string $_reftoken = '' |
Definition at line 23 of file lepton_securecms.php.
string $_salt = '' |
Definition at line 22 of file lepton_securecms.php.