MCPcopy
hub / github.com/tornadoweb/tornado / _oauth_get_user_future

Method _oauth_get_user_future

tornado/auth.py:841–849  ·  view source on GitHub ↗
(
        self, access_token: Dict[str, Any]
    )

Source from the content-addressed store, hash-verified

839 )
840
841 async def _oauth_get_user_future(
842 self, access_token: Dict[str, Any]
843 ) -> Dict[str, Any]:
844 user = await self.twitter_request(
845 "/account/verify_credentials", access_token=access_token
846 )
847 if user:
848 user["username"] = user["screen_name"]
849 return user
850
851
852class GoogleOAuth2Mixin(OAuth2Mixin):

Callers

nothing calls this directly

Calls 1

twitter_requestMethod · 0.95

Tested by

no test coverage detected