Log in
Interface

SimplePolicyInterface

Magento\Csp\Model\Policy\SimplePolicyInterface

What it does

This interface represents a simple Content Security Policy (CSP) that uses a default prefix and ID-value combination.

Developers would implement this interface when creating basic CSP rules that don't require complex policy structures, making it easier to define and manage straightforward security policies for their Magento 2 store.