Log in
Model

Data

Magento\Csp\Model\Collector\CspWhitelistXml\Data

What it does

This class manages the loading and caching of Content Security Policy (CSP) whitelist configuration data from XML files in Magento 2.

Developers interact with it indirectly when defining CSP whitelists in csp_whitelist.xml configuration files to specify which external resources are allowed to load on their site.

The class handles reading, caching, and providing access to these CSP rules across the application.