mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 17:27:36 +00:00
25 lines
443 B
PHP
25 lines
443 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Magento\CardinalCommerce\Model\Response;
|
|
|
|
/**
|
|
* Parses content of CardinalCommerce response JWT.
|
|
*
|
|
* @api
|
|
*/
|
|
interface JwtParserInterface
|
|
{
|
|
/**
|
|
* Returns response JWT content.
|
|
*
|
|
* @param string $jwt
|
|
* @return array
|
|
*/
|
|
public function execute(string $jwt): array;
|
|
}
|