FrontendUserAuthenticator

readonly class \TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator

Implements
MiddlewareInterface

Authenticates the request against the frontend realm of the authentication pipeline, stores the frontend user object in the current request as attribute, and provides the established principal as "frontend.principal" request attribute and as token of the authorization checker while the request is handled. A backend user of the frontend request is checked with isGrantedForUser().

Table of Contents

Interfaces

MiddlewareInterface

Properties

$authenticatorManager  : AuthenticatorManager
$context  : Context
$tokenStorage  : TokenStorageInterface

Methods

__construct()  : mixed
process()  : ResponseInterface
sessionGarbageCollection()  : void
Garbage collection for fe_sessions (with a probability)

Properties

$tokenStorage

protected TokenStorageInterface $tokenStorage

Methods

process()

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

Parameters

$request : ServerRequestInterface
$handler : RequestHandlerInterface

Return values

ResponseInterface

sessionGarbageCollection()

Garbage collection for fe_sessions (with a probability)

protected sessionGarbageCollection() : void
On this page