thrownew \LogicException('You cannot use the "oidc" token handler since "web-token/jwt-signature" and "web-token/jwt-checker" are not installed. Try running "composer require web-token/jwt-signature web-token/jwt-checker".'); }
// Verify the signature
if(!$jwsVerifier->verifyWithKey($jws, $this->jwk, 0)){ thrownewInvalidSignatureException(); }
// Verify the headers
$headerCheckerManager = new Checker\HeaderCheckerManager([ new Checker\AlgorithmChecker([$this->signatureAlgorithm->name()]), ], [ newJWSTokenSupport(), ]); // if this check fails, an InvalidHeaderException is thrown
$headerCheckerManager->check($jws, 0);