Model
HashData
Magento\Store\Model\StoreSwitcher\HashGenerator\HashData
What it does
This class is a data container that holds information required for generating one-time tokens during store view switching.
Developers use this class to pass customer ID, timestamp, and source store code when creating secure hash tokens that validate store switching requests, particularly useful when maintaining customer sessions across different store views.
Public Methods
- getCustomerId()
- getTimestamp()
- getFromStoreCode()