Model
RedirectDataValidator
Magento\Store\Model\StoreSwitcher\RedirectDataValidator
What it does
This class validates the security and freshness of redirect data when customers switch between stores in a multi-store Magento setup.
It ensures the redirect request hasn't been tampered with by checking a cryptographic signature and verifying the request was made within a 5-second timeout window.
Developers use this to maintain security during store-switching operations.
Public Methods
- validate()