HashProcessor
Magento\Store\Model\StoreSwitcher\HashProcessor
What it does
This class handles secure store switching by processing and validating one-time tokens passed via URL parameters.
It's used when customers switch between store views to ensure their session data (like cart contents or customer info) is safely transferred between stores.
The class validates the token signature, deserializes the data, and processes it through postprocessors to maintain user context across stores.
Public Methods
- switch()