Log in
Interface

StorageInterface

Magento\Backend\Model\Auth\Credential\StorageInterface

What it does

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

Developers implement this interface to create custom authentication mechanisms for admin users, handling login validation, credential reloading, and resource access verification.

It's primarily used when extending or customizing the admin authentication system.

Public Methods

  • authenticate()
  • login()
  • reload()
  • hasAvailableResources()
  • setHasAvailableResources()