ResponseService

final readonly class \TYPO3\CMS\Core\Security\ContentSecurityPolicy\Middleware\ResponseService

Table of Contents

Methods

__construct()  : mixed
dropNonceFromHtml()  : string
dropNonceFromHtmlResponse()  : ResponseInterface

Methods

__construct()

public __construct(StreamFactoryInterface $streamFactory) : mixed

Parameters

$streamFactory : StreamFactoryInterface

dropNonceFromHtmlResponse()

public dropNonceFromHtmlResponse(ResponseInterface $response, ConsumableNonce $nonce) : ResponseInterface

Parameters

$response : ResponseInterface
$nonce : ConsumableNonce

Return values

ResponseInterface
On this page