RedirectDataPreprocessor
Magento\Customer\Model\StoreSwitcher\RedirectDataPreprocessor
What it does
This class prepares customer data when a logged-in user switches between different store views in a Magento multi-store setup.
It ensures that the customer ID is included in the redirect data if the customer has access to the target store, enabling seamless session continuation across stores.
Developers use this during store switching operations to maintain customer authentication state.
Public Methods
- process()