PHP Class Jose\Checker\CheckerManager

Inheritance: implements Jose\Checker\CheckerManagerInterface
显示文件 Open project: spomky-labs/jose Class Usage Examples

Public Methods

Method Description
addClaimChecker ( Jose\Checker\ClaimCheckerInterface $claim_checker )
addHeaderChecker ( Jose\Checker\HeaderCheckerInterface $header_checker )
checkJWS ( Jose\Object\JWSInterface $jws, $signature )

Private Methods

Method Description
checkHeaders ( array $protected_headers, array $headers, array $checked_claims )
checkJWT ( Jose\Object\JWTInterface $jwt ) : string[]

Method Details

addClaimChecker() public method

public addClaimChecker ( Jose\Checker\ClaimCheckerInterface $claim_checker )
$claim_checker Jose\Checker\ClaimCheckerInterface

addHeaderChecker() public method

public addHeaderChecker ( Jose\Checker\HeaderCheckerInterface $header_checker )
$header_checker Jose\Checker\HeaderCheckerInterface

checkJWS() public method

public checkJWS ( Jose\Object\JWSInterface $jws, $signature )
$jws Jose\Object\JWSInterface