Log in
Interface

StorageInterface

Magento\Backend\Model\Auth\StorageInterface

What it does

This interface defines the contract for backend authentication storage in Magento 2.

Developers use implementations of this interface to manage admin user session state, including login/logout operations, checking authentication status, and extending session lifetime.

It's primarily used by the authentication system to persist admin user sessions across requests.

Public Methods

  • processLogin()
  • processLogout()
  • isLoggedIn()
  • prolong()