def user_data(self, access_token, *args, **kwargs):
    'Loads user data from service'
    params = self.setting('PROFILE_EXTRA_PARAMS', {})
    response = (kwargs.get('response') or {})
    params['access_token'] = access_token
    headers = {'Authorization': ('%s %s' % (response.get('token_type', 'Bearer').capitalize(), access_token)), 'Accept': 'application/json', 'Content-type': 'application/json;charset=utf-8'}
    return self.get_json(self.USER_DATA_URL, params=params, headers=headers)
Loads user data from service
def user_data(self, access_token, *args, **kwargs):
    
    params = self.setting('PROFILE_EXTRA_PARAMS', {})
    response = (kwargs.get('response') or {})
    params['access_token'] = access_token
    headers = {'Authorization': ('%s %s' % (response.get('token_type', 'Bearer').capitalize(), access_token)), 'Accept': 'application/json', 'Content-type': 'application/json;charset=utf-8'}
    return self.get_json(self.USER_DATA_URL, params=params, headers=headers)