Copied!

If you choose not to use the basic PHPFUI session handler, you will need to implement this interface.

AbstractInterface
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.

  • param string $quote optional quotes you many need to easily insert in the output.
public abstract csrfField() : string
 

Get the name of the csrf field

© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration