File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/AuthorizationValidators Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 77 "php" : " ^7.2 || ^8.0" ,
88 "ext-openssl" : " *" ,
99 "league/event" : " ^2.2" ,
10- "lcobucci/jwt" : " ^3.4 || ^4.1 " ,
10+ "lcobucci/jwt" : " ^3.4 || ~4.0.0 " ,
1111 "psr/http-message" : " ^1.0.1" ,
1212 "defuse/php-encryption" : " ^2.2.1" ,
1313 "ext-json" : " *"
Original file line number Diff line number Diff line change 1616use Lcobucci \JWT \Signer \Key \LocalFileReference ;
1717use Lcobucci \JWT \Signer \Rsa \Sha256 ;
1818use Lcobucci \JWT \Validation \Constraint \SignedWith ;
19- use Lcobucci \JWT \Validation \Constraint \StrictValidAt ;
19+ use Lcobucci \JWT \Validation \Constraint \ValidAt ;
2020use Lcobucci \JWT \Validation \RequiredConstraintsViolated ;
2121use League \OAuth2 \Server \CryptKey ;
2222use League \OAuth2 \Server \CryptTrait ;
@@ -74,7 +74,7 @@ private function initJwtConfiguration()
7474 );
7575
7676 $ this ->jwtConfiguration ->setValidationConstraints (
77- new StrictValidAt (new SystemClock (new DateTimeZone (\date_default_timezone_get ()))),
77+ new ValidAt (new SystemClock (new DateTimeZone (\date_default_timezone_get ()))),
7878 new SignedWith (new Sha256 (), LocalFileReference::file ($ this ->publicKey ->getKeyPath ()))
7979 );
8080 }
You can’t perform that action at this time.
0 commit comments