Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09f9eb7

Browse files
committed
feature#57694 [SecurityBundle] Update web-token/jwt-library version and adjust checker parameters (Spomky)
This PR was merged into the 7.2 branch.Discussion----------[SecurityBundle] Update web-token/jwt-library version and adjust checker parameters| Q | A| ------------- | ---| Branch? | 7.2| Bug fix? | no| New feature? | no <!-- please update src/**/CHANGELOG.md files -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Issues | Fix nothing| License | MITThe web-token/jwt-library has been updated to allow versions up to 4.0 across multiple components. Additionally, the parameters for the IssuedAtChecker, NotBeforeChecker, and ExpirationTimeChecker in the OidcTokenHandler have been adjusted.Commits-------9a56053 Update web-token/jwt-library version and adjust checker parameters
2 parents2da6a13 +9a56053 commit09f9eb7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

‎composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"twig/cssinliner-extra":"^2.12|^3",
159159
"twig/inky-extra":"^2.12|^3",
160160
"twig/markdown-extra":"^2.12|^3",
161-
"web-token/jwt-library":"^3.3.2"
161+
"web-token/jwt-library":"^3.3.2|^4.0"
162162
},
163163
"conflict": {
164164
"ext-psr":"<1.1|>=2",

‎src/Symfony/Bundle/SecurityBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"symfony/validator":"^6.4|^7.0",
5252
"symfony/yaml":"^6.4|^7.0",
5353
"twig/twig":"^3.0.4",
54-
"web-token/jwt-library":"^3.3.2"
54+
"web-token/jwt-library":"^3.3.2|^4.0"
5555
},
5656
"conflict": {
5757
"symfony/browser-kit":"<6.4",

‎src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ public function getUserBadgeFrom(string $accessToken): UserBadge
8686

8787
// Verify the claims
8888
$checkers = [
89-
newChecker\IssuedAtChecker(0,false,$this->clock),
90-
newChecker\NotBeforeChecker(0,false,$this->clock),
91-
newChecker\ExpirationTimeChecker(0,false,$this->clock),
89+
newChecker\IssuedAtChecker(clock:$this->clock, allowedTimeDrift:0, protectedHeaderOnly:false),
90+
newChecker\NotBeforeChecker(clock:$this->clock, allowedTimeDrift:0, protectedHeaderOnly:false),
91+
newChecker\ExpirationTimeChecker(clock:$this->clock, allowedTimeDrift:0, protectedHeaderOnly:false),
9292
newChecker\AudienceChecker($this->audience),
9393
newChecker\IssuerChecker($this->issuers),
9494
];

‎src/Symfony/Component/Security/Http/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"symfony/security-csrf":"^6.4|^7.0",
3737
"symfony/translation":"^6.4|^7.0",
3838
"psr/log":"^1|^2|^3",
39-
"web-token/jwt-library":"^3.3.2"
39+
"web-token/jwt-library":"^3.3.2|^4.0"
4040
},
4141
"conflict": {
4242
"symfony/clock":"<6.4",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp