Yoast\WP\SEO\MyYoast_Client\Application\Ports
OAuth_Server_Client_Interface::authenticated_request
Sends an authenticated resource request with DPoP proof.
Метод класса: OAuth_Server_Client_Interface{}
Хуков нет.
Возвращает
HTTP_Response. The parsed response.
Использование
$OAuth_Server_Client_Interface = new OAuth_Server_Client_Interface(); $OAuth_Server_Client_Interface->authenticated_request( string $method, string $url,;
Код OAuth_Server_Client_Interface::authenticated_request() OAuth Server Client Interface::authenticated request Yoast 28.9
public function authenticated_request( string $method, string $url, // phpcs:ignore PHPCompatibility.Attributes.NewAttributes.PHPNativeAttributeFound -- No-op on PHP < 8.2; redacts parameter from stack traces on PHP 8.2+. #[SensitiveParameter] string $access_token, string $token_type = Auth_Token_Type::DPOP, array $options = [] ): HTTP_Response; }