‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Security\ContentSecurityPolicy\CspModuleController Class Reference

Public Member Functions

 __construct (protected readonly Features $features, protected readonly UriBuilder $uriBuilder, protected readonly PageRenderer $pageRenderer, protected readonly ScopeRepository $scopeRepository, protected readonly ModuleTemplateFactory $moduleTemplateFactory,)
 
 mainAction (ServerRequestInterface $request)
 

Protected Member Functions

 getConfigurationStatus ()
 
 getBackendUser ()
 

Detailed Description

Content-Security-Policy backend module view, loading the CSP lit-element and providing the current context.

This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 35 of file CspModuleController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Security\ContentSecurityPolicy\CspModuleController::__construct ( protected readonly Features  $features,
protected readonly UriBuilder  $uriBuilder,
protected readonly PageRenderer  $pageRenderer,
protected readonly ScopeRepository  $scopeRepository,
protected readonly ModuleTemplateFactory  $moduleTemplateFactory 
)

Definition at line 37 of file CspModuleController.php.

Member Function Documentation

◆ getBackendUser()

TYPO3\CMS\Backend\Security\ContentSecurityPolicy\CspModuleController::getBackendUser ( )
protected

Definition at line 75 of file CspModuleController.php.

References $GLOBALS.

◆ getConfigurationStatus()

TYPO3\CMS\Backend\Security\ContentSecurityPolicy\CspModuleController::getConfigurationStatus ( )
protected

◆ mainAction()

TYPO3\CMS\Backend\Security\ContentSecurityPolicy\CspModuleController::mainAction ( ServerRequestInterface  $request)