CoreFiles by mySites.guru
HeaderChecker.php24 lines, 619 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
919abce79ec4a795e4f945d38024fb0c
sha1
9f6daba397ab7ebc6f07848b5a906450cc69e4f9
sha256
f18ccdec3db2635793c43f7fbee43c48e9461dcd09c9978d1482d3ab4c790e4e
<?php

declare(strict_types=1);

namespace Jose\Component\Checker;

interface HeaderChecker
{
    /**
     * This method is called when the header parameter is present. If for some reason the value is not valid, an
     * InvalidHeaderException must be thrown.
     */
    public function checkHeader(mixed $value): void;

    /**
     * The method returns the header parameter to be checked.
     */
    public function supportedHeader(): string;

    /**
     * When true, the header parameter to be checked MUST be set in the protected header of the token.
     */
    public function protectedHeaderOnly(): bool;
}

The same content is in 135 releases, Joomla 5.1.0-beta1 to 6.2.1. See them all, or every version of this file.