Log in
Model

RedirectData

Magento\Store\Model\StoreSwitcher\RedirectData

What it does

This class is a data transfer object (DTO) that holds secure redirect information when customers switch between different store views in Magento.

It encapsulates the signature for verification, the redirect data payload, and a timestamp to prevent replay attacks.

Developers use this when implementing custom store switcher functionality or when they need to securely pass data between store views during the switching process.

Public Methods

  • getSignature()
  • getData()
  • getTimestamp()