Log in
Model

HashProcessor

Magento\Store\Model\StoreSwitcher\HashProcessor

What it does

This class handles secure store switching in Magento 2 by processing one-time authentication tokens.

When a customer switches between store views, it validates encrypted data parameters, processes the redirect, and ensures the switch is legitimate.

Developers would use this when implementing custom store switcher functionality or debugging store switching issues with customer sessions.

Public Methods

  • switch()