TYPO3
7.6
|
Protected Member Functions | |
getFormProtection () | |
isValidRequest ($request) | |
Protected Member Functions inherited from Dispatcher | |
getCallableFromTarget ($target) | |
Additional Inherited Members | |
Public Member Functions inherited from Dispatcher | |
dispatch (ServerRequestInterface $request, ResponseInterface $response) | |
Dispatcher which resolves a route to call a controller and method (but also a callable)
Definition at line 30 of file RouteDispatcher.php.
|
protected |
Wrapper method for static form protection utility
Definition at line 62 of file RouteDispatcher.php.
References FormProtectionFactory\get().
Referenced by RouteDispatcher\isValidRequest().
|
protected |
Checks if the request token is valid. This is checked to see if the route is really created by the same instance. Should be called for all routes in the backend except for the ones that don't require a login.
\Psr\Http\Message\ServerRequestInterface | $request |
Definition at line 76 of file RouteDispatcher.php.
References elseif, ServerRequestInterface\getAttribute(), RouteDispatcher\getFormProtection(), ServerRequestInterface\getParsedBody(), and ServerRequestInterface\getQueryParams().