Yoast\WP\SEO\MyYoast_Client\Infrastructure\OIDC

Discovery_Client::get_cache_keyprivateYoast 1.0

Returns the issuer-specific transient cache key.

The issuer URL is hashed into the key so that switching issuers (e.g. via environment variable or filter) naturally causes a cache miss instead of returning stale data from a different server.

Метод класса: Discovery_Client{}

Хуков нет.

Возвращает

Строку. The transient key.

Использование

// private - только в коде основоного (родительского) класса
$result = $this->get_cache_key(): string;

Код Discovery_Client::get_cache_key() Yoast 28.3

private function get_cache_key(): string {
	return self::CACHE_TRANSIENT_PREFIX . $this->issuer_config->get_issuer_key();
}