| Current Path : /var/www/clients/client3/web2/web/vendor/magento/framework/Authorization/ |
| Current File : /var/www/clients/client3/web2/web/vendor/magento/framework/Authorization/RoleLocatorInterface.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Authorization;
/**
* Links Authorization component with application.
* Responsible for providing the identifier of currently logged in role to \Magento\Framework\Authorization component.
* Should be implemented by application developer that uses \Magento\Framework\Authorization component.
*
* @api
* @since 100.0.2
*/
interface RoleLocatorInterface
{
/**
* Retrieve current role
*
* @return string|null
*/
public function getAclRoleId();
}