Middleware

namespace TYPO3\CMS\Frontend\Middleware

Table of Contents

Classes

BackendUserAuthenticator
This middleware authenticates a Backend User (be_user) (pre)-viewing a frontend page.
CacheTimeout
Handle cache timeout that is set in typoscript.
ContentLengthResponseHeader
Add content-length HTTP header to the response.
ContentSecurityPolicyHeaders
Adds Content-Security-Policy headers to response.
ContentSecurityPolicyReporter
EidHandler
Lightweight alternative to regular frontend requests; used when $_GET[eID] is set.
FrontendUserAuthenticator
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().
MaintenanceMode
Checks whether the whole Frontend should be put into "Page unavailable mode" unless the devIPMask matches the current visitor's IP.
PageArgumentValidator
This middleware validates given request parameters against the common "cHash" functionality.
PageResolver
Resolve the page ID based on TYPO3's routing functionality configured in a site.
PrepareTypoScriptFrontendRendering
This important middleware prepares a lot of the heavy lifting.
PreviewSimulator
Middleware for handling preview settings used when simulating / previewing pages or content through query params when previewing access or time restricted content via for example backend preview links
ShortcutAndMountPointRedirect
Redirects pages of type mount points, shortcuts and link to their destination.
SiteBaseRedirectResolver
Resolves redirects of site if base is not / Can be replaced or extended by extensions if GeoIP-based or user-agent based language redirects need to happen.
SiteResolver
Identifies if a site is configured for the request, based on "id" and "L" GET/POST parameters, or the requested string.
StaticRouteResolver
Resolves static routes - can return configured content directly or load content from file / urls
TimeTrackerInitialization
Initializes the time tracker (singleton) for the whole TYPO3 Frontend
On this page