'Ask the Hub to identify the user for a given cookie.
Args:
encrypted_cookie (str): the cookie value (not decrypted, the Hub will do that)
use_cache (bool): Specify use_cache=False to skip cached cookie values (default: True)
Returns:
user_model (dict): The user model, if a user is identified, None if authentication fails.
The \'name\' field contains the user\'s name.'

def user_for_cookie(self, encrypted_cookie, use_cache=True):

    return self._check_hub_authorization(url=url_path_join(self.api_url, 'authorizations/cookie', self.cookie_name, quote(encrypted_cookie, safe='')), cache_key=('cookie:%s' % encrypted_cookie), use_cache=use_cache)
