CSRF
in package
implements
FilterInterface
CSRF filter.
This filter is not intended to be used from the command line.
Tags
Table of Contents
Interfaces
- FilterInterface
- Filter interface
Methods
- after() : void
- We don't have anything to do here.
- before() : RedirectResponse|void
- CSRF verification.
Methods
after()
We don't have anything to do here.
public
after(RequestInterface $request, ResponseInterface $response[, array<int, string>|null $arguments = null ]) : void
Parameters
- $request : RequestInterface
- $response : ResponseInterface
- $arguments : array<int, string>|null = null
before()
CSRF verification.
public
before(RequestInterface $request[, array<int, string>|null $arguments = null ]) : RedirectResponse|void
Parameters
- $request : RequestInterface
- $arguments : array<int, string>|null = null