MCPcopy Create free account
hub / github.com/EasyIME/PIME / _oauth_get_user_future

Method _oauth_get_user_future

python/python3/tornado/auth.py:473–495  ·  view source on GitHub ↗

Subclasses must override this to get basic information about the user. Should be a coroutine whose result is a dictionary containing information about the user, which may have been retrieved by using ``access_token`` to make a request to the service.

(
        self, access_token: Dict[str, Any]
    )

Source from the content-addressed store, hash-verified

471 raise NotImplementedError()
472
473 async def _oauth_get_user_future(
474 self, access_token: Dict[str, Any]
475 ) -> Dict[str, Any]:
476 """Subclasses must override this to get basic information about the
477 user.
478
479 Should be a coroutine whose result is a dictionary
480 containing information about the user, which may have been
481 retrieved by using ``access_token`` to make a request to the
482 service.
483
484 The access token will be added to the returned dictionary to make
485 the result of `get_authenticated_user`.
486
487 .. versionchanged:: 5.1
488
489 Subclasses may also define this method with ``async def``.
490
491 .. versionchanged:: 6.0
492
493 A synchronous fallback to ``_oauth_get_user`` was removed.
494 """
495 raise NotImplementedError()
496
497 def _oauth_request_parameters(
498 self,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected