'Perform an authenticated request against the identity API.'

def authenticated_request(self, action, params=None, data=None, headers=None, method='GET', raw=False):

    if (not self.auth_token):
        raise ValueError('Not    to    be    authenticated    to    perform    this    request')
    headers = (headers or {})
    headers['X-Auth-Token'] = self.auth_token
    return self.request(action=action, params=params, data=data, headers=headers, method=method, raw=raw)
