Yoast\WP\SEO\MyYoast_Client\Application\Grants
Authorization_Code_Grant::get_grant_params
Returns the grant-specific parameters.
Метод класса: Authorization_Code_Grant{}
Хуков нет.
Возвращает
Массив<Строку,. string>
Использование
$Authorization_Code_Grant = new Authorization_Code_Grant(); $Authorization_Code_Grant->get_grant_params(): array;
Код Authorization_Code_Grant::get_grant_params() Authorization Code Grant::get grant params Yoast 27.7
public function get_grant_params(): array {
return [
'code' => $this->code,
'redirect_uri' => $this->redirect_uri,
'code_verifier' => $this->code_verifier,
];
}