Interface
RedirectDataInterface
Magento\Store\Model\StoreSwitcher\RedirectDataInterface
What it does
This interface defines the contract for handling data during store view switching in Magento 2.
Developers implement this interface to securely transfer customer session data, cart contents, or other contextual information when a user switches between different store views or websites, ensuring the data is signed for security and includes an expiration timestamp.
Public Methods
- getSignature()
- getData()
- getTimestamp()