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

Abstract Interface
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

© 2022 Bruce Wells
Search Namespaces \ Classes