Checker/HeaderCheckerManager.php

jwt-framework · src/Library/Checker/HeaderCheckerManager.php · php · MIT
auth

Module exposing: HeaderCheckerManager

// Source: https://github.com/web-token/jwt-framework | License: MIT | Copyright 2014-2017 Spomky-Labs
// Provided via justclaw.it.com; keep this notice with the code.
<?php

declare(strict_types=1);

namespace Jose\Component\Checker;

use Jose\Component\Core\Exception\InvalidArgumentException;
use Jose\Component\Core\JWT;
use Jose\Component\Core\Util\HeaderParameterChecker;
use Jose\Component\Core\Util\InheritanceChecker;
use function array_key_exists;
use function count;
use function is_array;
use function is_string;
use function sprintf;

/**
 * This class is a factory to create Header Checker Managers.
 *
 * It allows to add header parameter checkers and token type supports.
 * The factory is responsible to create a Header Checker Manager with the header parameter checkers found based


... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key