Interface
SessionCleanerInterface
Magento\Customer\Api\SessionCleanerInterface
What it does
This interface defines a contract for clearing customer session data.
Developers would implement this interface when they need to destroy all active sessions for a specific customer, such as when a customer's password is changed or their account is compromised, ensuring they must re-authenticate across all devices.
Public Methods
- clearFor()