Log in
Interface

CspRendererInterface

Magento\Csp\Api\CspRendererInterface

What it does

This interface defines a contract for rendering Content Security Policy (CSP) headers into HTTP responses.

Developers implement this interface to apply CSP rules to web pages, helping protect against XSS attacks and other security vulnerabilities by controlling which resources can be loaded.

Public Methods

  • render()