Yoast\WP\SEO\AI_Authorization\Application
Token_Manager_Interface::token_refresh
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{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Token_Manager_Interface = new Token_Manager_Interface(); $Token_Manager_Interface->token_refresh( $user ): void;
- $user(WP_User) (обязательный)
- The WP user.
Код Token_Manager_Interface::token_refresh() Token Manager Interface::token refresh Yoast 28.3
public function token_refresh( WP_User $user ): void;