Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/magento/framework/Jwt/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/magento/framework/Jwt/HeaderInterface.php

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

declare(strict_types=1);

namespace Magento\Framework\Jwt;

/**
 * JWT Header.
 */
interface HeaderInterface
{
    /**
     * Parameters.
     *
     * @return HeaderParameterInterface[]
     */
    public function getParameters(): array;

    /**
     * Find a parameter by name.
     *
     * @param string $name
     * @return HeaderParameterInterface|null
     */
    public function getParameter(string $name): ?HeaderParameterInterface;
}