SudoModeInterceptor

final class \TYPO3\CMS\Backend\Middleware\SudoModeInterceptor

Implements
MiddlewareInterface, LoggerAwareInterface
Uses
LoggerAwareTrait

Middleware that catches any `VerificationRequiredException` (= the current user must verify the access for a particular resource, route, module) by entering their password again; and any `RequestGrantedException` (= the verification process was successful & the user shall be redirected to the URI, that has been requested originally).

Table of Contents

Interfaces

MiddlewareInterface
LoggerAwareInterface

Properties

$currentRequest  : ServerRequestInterface|null

Methods

__construct()  : mixed
process()  : ResponseInterface

Properties

$currentRequest

public ServerRequestInterface|null $currentRequest = null

Methods

process()

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface

Parameters

$request : ServerRequestInterface
$handler : RequestHandlerInterface

Return values

ResponseInterface
On this page