Yoast\WP\SEO\MyYoast_Client\Domain

Auth_Flow_State::to_array │ public │ Yoast 1.0

Converts the state to an associative array for storage.

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

Хуков нет.

Возвращает

array<string, string|null>.

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

$Auth_Flow_State = new Auth_Flow_State();
$Auth_Flow_State->to_array(): array;

Код Auth_Flow_State::to_array() Yoast 28.9

public function to_array(): array {
	return [
		'code_verifier'      => $this->code_verifier,
		'state'              => $this->state,
		'nonce'              => $this->nonce,
		'redirect_uri'       => $this->redirect_uri,
		'return_url'         => $this->return_url,
		'resource_indicator' => $this->resource_indicator->value(),
	];
}