Skip to content

Commit a0045e8

Browse files
authored
Merge pull request #26 from angelomelonas/patch-1
Update the `AbstractTokenVerifier` to pass the missing `$clock` parameter
2 parents 00b6885 + 5e9496f commit a0045e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractTokenVerifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ protected function create(string $jwt): Validate
136136
->withClaim(new IssuedAtChecker($this->clockTolerance, true, $this->clock))
137137
->withClaim(new AudienceChecker($this->clientId, true))
138138
->withClaim(new ExpirationTimeChecker($this->clockTolerance, false, $this->clock))
139-
->withClaim(new NotBeforeChecker($this->clockTolerance, true));
139+
->withClaim(new NotBeforeChecker($this->clockTolerance, true, $this->clock));
140140

141141
if (null !== $this->expectedAzp) {
142142
$validator = $validator->withClaim(new AzpChecker($this->expectedAzp));

0 commit comments

Comments
 (0)