Files
2026-02-18 20:17:19 -06:00

23 lines
431 B
PHP

<?php
declare(strict_types=1);
namespace Jose\Component\Checker;
/**
* Represents a claim checker interface.
* Claim checkers are responsible for validating claims on a token.
*/
interface ClaimChecker
{
/**
* Checks if the given value matches the claim.
*/
public function checkClaim(mixed $value): void;
/**
* Returns the supported claim.
*/
public function supportedClaim(): string;
}