We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7db44f commit d74d05eCopy full SHA for d74d05e
src/Server/Validators/BearerTokenValidator.php
@@ -75,10 +75,7 @@ protected function initJwtConfiguration(): void
75
$this->jwtConfiguration = Configuration::forSymmetricSigner(
76
$this->moduleConfig->getProtocolSigner(),
77
InMemory::plainText('empty', 'empty'),
78
- );
79
-
80
- /** @psalm-suppress DeprecatedMethod, ArgumentTypeCoercion */
81
- $this->jwtConfiguration->setValidationConstraints(
+ )->withValidationConstraints(
82
new StrictValidAt(new SystemClock(new DateTimeZone(date_default_timezone_get()))),
83
new SignedWith(
84
0 commit comments