2019-04-11 --> 2021-05-31
- CSRFProtector – The CSRFProtector class.
- CSRFProtector::inst – Gets the singleton instance for this class.
- CSRFProtector::__construct – Builds the CSRFProtector instance.
- CSRFProtector::setUsePage – Sets the usePage.
- CSRFProtector::createToken – Creates the token named $tokenName, stores its value in the "new" slot, and returns the token value.
- CSRFProtector::hasToken – Returns whether the token identified by the given tokenName is already stored in the session.
- CSRFProtector::isValid – Returns whether the given $tokenName exists and has the given $tokenValue.
- CSRFProtector::deleteToken – Deletes the given $tokenName.
- CSRFProtector::deletePageUnusedTokens – Deletes the tokens that are not associated with the current page.
- CSRFProtector::dump – Returns a debug string of the php session content.
- CSRFProtector::cleanSession – Cleans the session.