Skip to content

Commit 41cffc3

Browse files
committed
remove $oidcJWKSetCacheKey parameter from OidcTokenHandler::enableDiscovery()
1 parent 3cd985c commit 41cffc3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

AccessToken/Oidc/OidcTokenHandler.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,8 @@ public function enableJweSupport(JWKSet $decryptionKeyset, AlgorithmManager $dec
7474
/**
7575
* @param HttpClientInterface|HttpClientInterface[] $client
7676
*/
77-
public function enableDiscovery(CacheInterface $cache, array|HttpClientInterface $client, string $oidcConfigurationCacheKey, ?string $oidcJWKSetCacheKey = null): void
77+
public function enableDiscovery(CacheInterface $cache, array|HttpClientInterface $client, string $oidcConfigurationCacheKey): void
7878
{
79-
if (null !== $oidcJWKSetCacheKey) {
80-
trigger_deprecation('symfony/security-http', '7.4', 'Passing $oidcJWKSetCacheKey parameter to "%s()" is deprecated.', __METHOD__);
81-
}
82-
8379
$this->discoveryCache = $cache;
8480
$this->discoveryClients = \is_array($client) ? $client : [$client];
8581
$this->oidcConfigurationCacheKey = $oidcConfigurationCacheKey;

0 commit comments

Comments
 (0)