/home/techb158/dev.balacoffee.com/vendor/lcobucci/jwt/src/Validation/Constraint
NameSizeModeActions
IdentifiedBy.php5960644editdlrm
IssuedBy.php6450644editdlrm
LeewayCannotBeNegative.php3390644editdlrm
PermittedFor.php6300644editdlrm
RelatedTo.php6150644editdlrm
SignedWith.php9960644editdlrm
ValidAt.php19290644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/lcobucci/jwt/src/Validation/Constraint/SignedWith.php (996B)
signer = $signer; $this->key = $key; } public function assert(Token $token): void { if (! $token instanceof Token\Plain) { throw new ConstraintViolation('You should pass a plain token'); } if ($token->headers()->get('alg') !== $this->signer->algorithmId()) { throw new ConstraintViolation('Token signer mismatch'); } if (! $this->signer->verify($token->signature()->hash(), $token->payload(), $this->key)) { throw new ConstraintViolation('Token signature mismatch'); } } }