Yoast\WP\SEO\MyYoast_Client\Application\Grants

Authorization_Code_Grant::get_grant_params │ public │ Yoast 1.0

Returns the grant-specific parameters.

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

Хуков нет.

Возвращает

array<string, string>.

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

$Authorization_Code_Grant = new Authorization_Code_Grant();
$Authorization_Code_Grant->get_grant_params(): array;

Код Authorization_Code_Grant::get_grant_params() Yoast 28.9

public function get_grant_params(): array {
	return [
		'code'          => $this->code,
		'redirect_uri'  => $this->redirect_uri,
		'code_verifier' => $this->code_verifier,
	];
}