Model
FlagPolicy
Magento\Csp\Model\Policy\FlagPolicy
What it does
This class represents Content Security Policy (CSP) directives that act as flags without requiring values, such as 'upgrade-insecure-requests' and 'block-all-mixed-content'.
Developers use this when configuring CSP headers to enable security features that don't need additional parameters, simply their presence in the policy header enables the protection.
Public Methods
- getId()
- getValue()