Yoast\WP\SEO\MyYoast_Client\User_Interface

Auth_Command::__construct │ public │ Yoast 1.0

Auth_Command constructor.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$Auth_Command = new Auth_Command();
$Auth_Command->__construct( $myyoast_client, $client_registration, $issuer_config, $token_storage, $user_token_storage, $cleanup );
$myyoast_client(MyYoast_Client) (обязательный)
The MyYoast client facade.
$client_registration(Client_Registration_Interface) (обязательный)
The client registration port.
$issuer_config(Issuer_Config) (обязательный)
The issuer configuration.
$token_storage(Token_Storage_Interface) (обязательный)
The site-level token storage port.
$user_token_storage(User_Token_Storage_Interface) (обязательный)
The user-level token storage port.
$cleanup(MyYoast_Client_Cleanup) (обязательный)
The cleanup service.

Код Auth_Command::__construct() Yoast 28.9

public function __construct(
	MyYoast_Client $myyoast_client,
	Client_Registration_Interface $client_registration,
	Issuer_Config $issuer_config,
	Token_Storage_Interface $token_storage,
	User_Token_Storage_Interface $user_token_storage,
	MyYoast_Client_Cleanup $cleanup
) {
	$this->myyoast_client      = $myyoast_client;
	$this->client_registration = $client_registration;
	$this->issuer_config       = $issuer_config;
	$this->token_storage       = $token_storage;
	$this->user_token_storage  = $user_token_storage;
	$this->cleanup             = $cleanup;
}