Yoast\WP\SEO\Generated
Cached_Container::getAuthorizationCodeHandlerService
Gets the private 'Yoast\WP\SEO\MyYoast_Client\Application\Authorization_Code_Handler' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\MyYoast_Client\Application\Authorization_Code_Handler.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getAuthorizationCodeHandlerService();
Код Cached_Container::getAuthorizationCodeHandlerService() Cached Container::getAuthorizationCodeHandlerService Yoast 28.9
protected function getAuthorizationCodeHandlerService()
{
$a = ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\OIDC\\Discovery_Client'] ?? $this->getDiscoveryClientService());
$b = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\OIDC\ID_Token_Validator($a, ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Crypto\\JWT_Signer'] ?? ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Crypto\\JWT_Signer'] = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\Crypto\JWT_Signer())), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Http\\HTTP_Client'] ?? $this->getHTTPClientService()), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\OIDC\\Issuer_Config'] ?? ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\OIDC\\Issuer_Config'] = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\OIDC\Issuer_Config())));
$c = ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] ?? ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] = new \Yoast\WP\SEO\Loggers\Logger()));
$b->setLogger($c);
$this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Application\\Authorization_Code_Handler'] = $instance = new \Yoast\WP\SEO\MyYoast_Client\Application\Authorization_Code_Handler($a, ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Registration\\Client_Registration'] ?? $this->getClientRegistrationService()), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Application\\OAuth_Grant_Handler'] ?? $this->getOAuthGrantHandlerService()), $b, ($this->privates['Yoast\\WP\\SEO\\Expiring_Store\\Application\\Expiring_Store'] ?? $this->getExpiringStoreService()), ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\WordPress\\Redirect_URI_Provider'] ?? ($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\WordPress\\Redirect_URI_Provider'] = new \Yoast\WP\SEO\MyYoast_Client\Infrastructure\WordPress\Redirect_URI_Provider())));
$instance->setLogger($c);
return $instance;
}