Add id token cache key for each user

This commit is contained in:
Emili Castells Guasch 2024-08-06 15:30:50 +02:00
parent a1413782e9
commit b42e9436ae
7 changed files with 15 additions and 62 deletions

View file

@ -502,9 +502,6 @@ class SettingsListener {
if ( $this->cache->has( PayPalBearer::CACHE_KEY ) ) {
$this->cache->delete( PayPalBearer::CACHE_KEY );
}
if ( $this->client_credentials_cache->has( UserIdToken::CACHE_KEY ) ) {
$this->client_credentials_cache->delete( UserIdToken::CACHE_KEY );
}
if ( $this->client_credentials_cache->has( SdkClientToken::CACHE_KEY ) ) {
$this->client_credentials_cache->delete( SdkClientToken::CACHE_KEY );
}