Log in
Model

SessionCleaner

Magento\Customer\Model\Session\SessionCleaner

What it does

This class handles the cleanup of all session data related to a specific customer, including their current active session.

Developers use this when they need to force a customer logout across all devices and sessions, such as after password changes or account security updates, ensuring the customer must re-authenticate.

Public Methods

  • clearFor()