Skip to content

Commit 174fce6

Browse files
committed
Fix typos in OIDC methods
1 parent cf7a7ec commit 174fce6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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;

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)