def client_request(self, client, method, url, **kwargs):

        token, endpoint = (self.cached_token, client.cached_endpoint)
        if not (token and endpoint):
            token, endpoint = self.auth_plugin.token_and_endpoint()
            self.cached_token = token
            client.cached_endpoint = endpoint

        if token:
            kwargs.setdefault("headers", {})["Authorization"] = \
                "Bearer %s" % token

        return self.request(method, self.concat_url(endpoint, url), **kwargs)
Send an http request using `client`'s endpoint and specified `url`.
dataset/ETHPy150Open openstack-infra/python-storyboardclient/storyboardclient/base.py/BaseHTTPClient.client_request