Closed
Description
I tried to create a token without Expiration claim, and validate it. the token validate method should return false, but instead it returns true.
$builder = new Builder();
$token
5488
= $builder->setSubject(1)->getToken();
$validator = new ValidationData();
$this->assertFalse($token->validate($validator)); // Failed asserting that true is false.
I think ValidationData must validate the Token claims and not the opposite.