| Current Path : /home/rtorresani/www/vendor/magento/module-two-factor-auth/Api/ |
| Current File : //home/rtorresani/www/vendor/magento/module-two-factor-auth/Api/GoogleAuthenticateInterface.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\TwoFactorAuth\Api;
/**
* Represents google authentication
*
* @api
*/
interface GoogleAuthenticateInterface
{
/**
* Get an admin token by authenticating using google
*
* @param string $username
* @param string $password
* @param string $otp
* @return string
*/
public function createAdminAccessToken(string $username, string $password, string $otp): string;
}