If you choose not to use the basic PHPFUI session handler, you will need to implement this interface.
Abstract
Interface
Methods |
public
abstract
checkCSRF
(
string
$request
=
''
) :
bool
Returns true if the CSRF token is correct |
public
abstract
csrf
(
string
$quote
=
''
) :
string
Returns the csrf token for the session. |
public
abstract
csrfField
() :
string
Get the name of the csrf field |