Yoast\WP\SEO\AI\Authentication\Application
OAuth_Auth_Strategy::__construct
Constructor.
Метод класса: OAuth_Auth_Strategy{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$OAuth_Auth_Strategy = new OAuth_Auth_Strategy(); $OAuth_Auth_Strategy->__construct( $myyoast_client, $api_client, $response_validator );
- $myyoast_client(MyYoast_Client) (обязательный)
- The MyYoast OAuth client.
- $api_client(API_Client) (обязательный)
- The AI API client.
- $response_validator(Response_Validator) (обязательный)
- The response validator.
Код OAuth_Auth_Strategy::__construct() OAuth Auth Strategy:: construct Yoast 28.3
public function __construct( MyYoast_Client $myyoast_client, API_Client $api_client, Response_Validator $response_validator ) {
$this->myyoast_client = $myyoast_client;
$this->api_client = $api_client;
$this->response_validator = $response_validator;
$this->logger = new NullLogger();
}