

@_auth_return_future
def get_authenticated_user(self, callback, http_client=None):
    'Fetches the authenticated user data upon redirect.\n\n        This method should be called by the handler that receives the\n        redirect from the `authenticate_redirect()` method (which is\n        often the same as the one that calls it; in that case you would\n        call `get_authenticated_user` if the ``openid.mode`` parameter\n        is present and `authenticate_redirect` if it is not).\n\n        The result of this method will generally be used to set a cookie.\n        '
    args = dict(((http_client, v[(- 1)]) for (k, v) in self.request.arguments.items()))
    args['openid.mode'] = u('check_authentication')
    url = self._OPENID_ENDPOINT
    if (http_client is None):
        http_client = self.get_auth_http_client()
    http_client.fetch(url, self.async_callback(self._on_authentication_verified, callback), method='POST', body=urllib_parse.urlencode(args))

dataset/ETHPy150Open D-L/SimpleBookMarks/src/tornado/auth.py OpenIdMixin.get_authenticated_user/VarMisuse@27/208 `k`->`http_client`