$options Request options: 'headers', 'body', 'timeout', 'dpop' (bool), 'access_token'. * * @return HTTP_Response The parsed response. */ public function request( string $method, string $url, array $options = [] ): HTTP_Response; /** * Sends an authenticated resource request with DPoP proof. * * @param string $method The HTTP method. * @param string $url The resource URL. * @param string $access_token The access token. * @param string $token_type An Auth_Token_Type constant. * @param array $options Additional request options. * * @return HTTP_Response The parsed response. */ 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; }