Elgg  Version master
Public Member Functions | List of all members
Elgg\Router\Middleware\CsrfFirewall Class Reference

Middleware for validating CSRF tokens. More...

Public Member Functions

 __invoke (Request $request)
 Validate CSRF tokens. More...
 

Detailed Description

Middleware for validating CSRF tokens.

Definition at line 11 of file CsrfFirewall.php.

Member Function Documentation

Elgg\Router\Middleware\CsrfFirewall::__invoke ( Request  $request)

Validate CSRF tokens.

Parameters
Request$requestRequest
Returns
void
Exceptions
CsrfException

Definition at line 21 of file CsrfFirewall.php.


The documentation for this class was generated from the following file: