Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-adobe-ims-api/Api/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/magento/module-adobe-ims-api/Api/GetTokenInterface.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

declare(strict_types=1);

namespace Magento\AdobeImsApi\Api;

use Magento\AdobeImsApi\Api\Data\TokenResponseInterface;
use Magento\Framework\Exception\AuthorizationException;

/**
 * Declare functionality for getting user token
 * @api
 */
interface GetTokenInterface
{
    /**
     * Retrieve token and user information from Adobe IMS
     *
     * @param string $code
     * @return TokenResponseInterface
     * @throws AuthorizationException
     */
    public function execute(string $code): TokenResponseInterface;
}