From 3d6cc19437c2ebe29f9ec59ad5fa9e1591f2137f Mon Sep 17 00:00:00 2001 From: valtzu Date: Sat, 15 Mar 2025 16:10:13 +0200 Subject: [PATCH] Fix typos in OIDC methods --- .../Security/AccessToken/OidcTokenHandlerFactory.php | 2 +- .../Security/Http/AccessToken/Oidc/OidcTokenHandler.php | 4 ++-- .../Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php index 63f1077a560a1..de53d5e89bc26 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php @@ -71,7 +71,7 @@ public function create(ContainerBuilder $container, string $id, array|string $co ->replaceArgument(0, $config['encryption']['keyset']); $tokenHandlerDefinition->addMethodCall( - 'enabledJweSupport', + 'enableJweSupport', [ $keyset, $algorithmManager, diff --git a/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php b/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php index b656cbc8d1cef..322b2a18c7fde 100644 --- a/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php +++ b/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php @@ -71,14 +71,14 @@ public function __construct( } } - public function enabledJweSupport(JWKSet $decryptionKeyset, AlgorithmManager $decryptionAlgorithms, bool $enforceEncryption): void + public function enableJweSupport(JWKSet $decryptionKeyset, AlgorithmManager $decryptionAlgorithms, bool $enforceEncryption): void { $this->decryptionKeyset = $decryptionKeyset; $this->decryptionAlgorithms = $decryptionAlgorithms; $this->enforceEncryption = $enforceEncryption; } - public function enabledDiscovery(CacheInterface $cache, HttpClientInterface $client, string $oidcConfigurationCacheKey, string $oidcJWKSetCacheKey): void + public function enableDiscovery(CacheInterface $cache, HttpClientInterface $client, string $oidcConfigurationCacheKey, string $oidcJWKSetCacheKey): void { $this->discoveryCache = $cache; $this->discoveryClient = $client; diff --git a/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php b/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php index 2ab7c8a5b0e31..1593018bc1dc9 100644 --- a/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php +++ b/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php @@ -37,7 +37,7 @@ public function __construct( ) { } - public function enabledDiscovery(CacheInterface $cache, string $oidcConfigurationCacheKey): void + public function enableDiscovery(CacheInterface $cache, string $oidcConfigurationCacheKey): void { $this->discoveryCache = $cache; $this->oidcConfigurationCacheKey = $oidcConfigurationCacheKey; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy