StorageInterface
Magento\Csp\Model\SubresourceIntegrity\StorageInterface
What it does
This interface defines a storage contract for managing Subresource Integrity (SRI) hashes in Magento 2.
Developers implement this interface to create custom storage mechanisms for SRI hashes, which are cryptographic hashes used to verify that external resources (like CSS or JavaScript files) haven't been tampered with.
The interface provides methods to load, save, and remove SRI hash data with optional context parameters.
Public Methods
- load()
- save()
- remove()