Model
ModeConfigured
Magento\Csp\Model\Mode\Data\ModeConfigured
What it does
This class represents the configured Content Security Policy (CSP) mode settings for Magento 2.
Developers use this to determine whether CSP is running in report-only mode (violations are logged but not blocked) or enforcement mode, and to access the URI where CSP violation reports should be sent.
It's typically used when implementing or debugging CSP policies in a Magento store.
Public Methods
- isReportOnly()
- getReportUri()