Yoast\WP\SEO\MyYoast_Client\Application\Ports
Client_Authenticator_Interface{}
Port for OAuth client authentication (private_key_jwt).
Хуков нет.
Использование
$Client_Authenticator_Interface = new Client_Authenticator_Interface(); // use class methods
Методы
Код Client_Authenticator_Interface{} Client Authenticator Interface{} Yoast 28.3
interface Client_Authenticator_Interface {
/**
* Creates a signed client_assertion JWT for the given audience.
*
* @param string $client_id The registered client_id.
* @param string $audience The audience URL (typically the token endpoint).
*
* @return string The signed client_assertion JWT.
*
* @throws Client_Authentication_Exception If key retrieval or signing fails.
*/
public function create_client_assertion( string $client_id, string $audience ): string;
}