Helper

ForceSignIn

Magento\User\Helper\ForceSignIn

What it does

This helper class forces admin users to sign out by updating their session status in the database.

Developers would use this when they need to programmatically log out an admin user, such as after password changes, permission updates, or security-related events that require re-authentication.

Public Methods

  • updateAdminSessionStatus()