

@return_future
def _oauth_get_user_future(self, access_token, callback):
    'Subclasses must override this to get basic information about the\n        user.\n\n        Should return a `.Future` whose result is a dictionary\n        containing information about the user, which may have been\n        retrieved by using ``access_token`` to make a request to the\n        service.\n\n        The access token will be added to the returned dictionary to make\n        the result of `get_authenticated_user`.\n\n        For backwards compatibility, the callback-based ``_oauth_get_user``\n        method is also supported.\n        '
    self._oauth_get_user(access_token, callback)

dataset/ETHPy150Open D-L/SimpleBookMarks/src/tornado/auth.py OAuthMixin._oauth_get_user_future/original