Yoast\WP\SEO\AI_Authorization\Application

Token_Manager_Interface::token_refresh │ public │ Yoast 1.0

Устарела с версии 28.4. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

Refreshes the JWT access token.

Refreshes a stored JWT access token for a user with the Yoast AI Service and stores it in the database under usermeta. The storing of the token happens in a HTTP callback that is triggered by this request.

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

Хуков нет.

Возвращает

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

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

$Token_Manager_Interface = new Token_Manager_Interface();
$Token_Manager_Interface->token_refresh( $user ): void;
$user(WP_User) (обязательный)
The WP user.

Список изменений

Устарела с 28.4

Код Token_Manager_Interface::token_refresh() Yoast 28.9

public function token_refresh( WP_User $user ): void;