Log in
Model

RedirectDataPostprocessor

Magento\Customer\Model\StoreSwitcher\RedirectDataPostprocessor

What it does

This class handles customer authentication when switching between different store views in a multi-store Magento setup.

It automatically logs in a customer on the target store if they were logged in on the origin store and have access to both stores.

Developers use this to maintain seamless customer sessions when users navigate between different store views.

Public Methods

  • process()