8000 Fix typos in OIDC methods · symfony/symfony@3d6cc19 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d6cc19

Browse files
committed
Fix typos in OIDC methods
1 parent 273f2ee commit 3d6cc19

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function create(ContainerBuilder $container, string $id, array|string $co
7171
->replaceArgument(0, $config['encryption']['keyset']);
7272

7373
$tokenHandlerDefinition->addMethodCall(
74-
'enabledJweSupport',
74+
'enableJweSupport',
7575
[
7676
$keyset,
7777
$algorithmManager,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ public function __construct(
7171
}
7272
}
7373

74-
public function enabledJweSupport(JWKSet $decryptionKeyset, AlgorithmManager $decryptionAlgorithms, bool $enforceEncryption): void
74+
public function enableJweSupport(JWKSet $decryptionKeyset, AlgorithmManager $decryptionAlgorithms, bool $enforceEncryption): void
7575
{
7676
$this->decryptionKeyset = $decryptionKeyset;
7777
$this->decryptionAlgorithms = $decryptionAlgorithms;
7878
$this->enforceEncryption = $enforceEncryption;
7979
}
8080

81-
public function enabledDiscovery(CacheInterface $cache, HttpClientInterface $client, string $oidcConfigurationCacheKey, string $oidcJWKSetCacheKey): void
81+
public function enableDiscovery(CacheInterface $cache, HttpClientInterface $client, string $oidcConfigurationCacheKey, string $oidcJWKSetCacheKey): void
8282
{
8383
$this->discoveryCache = $cache;
8484
$this->discoveryClient = $client;

src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcUserInfoTokenHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(
3737
) {
3838
}
3939

40-
public function enabledDiscovery(CacheInterface $cache, string $oidcConfigurationCacheKey): void
40+
public function enableDiscovery(CacheInterface $cache, string $oidcConfigurationCacheKey): void
4141
{
4242
$this->discoveryCache = $cache;
4343
$this->oidcConfigurationCacheKey = $oidcConfigurationCacheKey;

0 commit comments

Comments
 (0)
0