def METHOD_NAME(self, **kwargs) -> str:  # noqa: E501
    """To test HTTP basic authentication  # noqa: E501
    To test HTTP basic authentication  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.test_auth_http_basic(async_req=True)
    >>> result = thread.get()
    :param async_req: Whether to execute the request asynchronously.
    :type async_req: bool, optional
    :param _request_timeout: timeout setting for this request.
           If one number provided, it will be total request
           timeout. It can also be a pair (tuple) of
           (connection, read) timeouts.
    :return: Returns the result object.
             If the method is called asynchronously,
             returns the request thread.
    :rtype: str
    """
    kwargs['_return_http_data_only'] = True
    if '_preload_content' in kwargs:
        message = "Error! Please call the test_auth_http_basic_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data"  # noqa: E501
        raise ValueError(message)
    return self.test_auth_http_basic_with_http_info(**kwargs)  # noqa: E501