mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
48 lines
772 B
PHP
48 lines
772 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Backend\Model\Auth;
|
|
|
|
/**
|
|
* Backend Auth Storage interface
|
|
*
|
|
* @api
|
|
* @since 100.0.2
|
|
*/
|
|
interface StorageInterface
|
|
{
|
|
/**
|
|
* Perform login specific actions
|
|
*
|
|
* @return $this
|
|
* @abstract
|
|
*/
|
|
public function processLogin();
|
|
|
|
/**
|
|
* Perform logout specific actions
|
|
*
|
|
* @return $this
|
|
* @abstract
|
|
*/
|
|
public function processLogout();
|
|
|
|
/**
|
|
* Check if user is logged in
|
|
*
|
|
* @return bool
|
|
* @abstract
|
|
*/
|
|
public function isLoggedIn();
|
|
|
|
/**
|
|
* Prolong storage lifetime
|
|
*
|
|
* @return void
|
|
* @abstract
|
|
*/
|
|
public function prolong();
|
|
}
|