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

Method get

python/python3/tornado/test/auth_test.py:66–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64
65 @gen.coroutine
66 def get(self):
67 if self.get_argument("oauth_token", None):
68 user = yield self.get_authenticated_user(
69 http_client=self.settings["http_client"]
70 )
71 if user is None:
72 raise Exception("user is None")
73 self.finish(user)
74 return
75 yield self.authorize_redirect(http_client=self.settings["http_client"])
76
77 @gen.coroutine
78 def _oauth_get_user_future(self, access_token):

Callers

nothing calls this directly

Calls 4

get_argumentMethod · 0.80
finishMethod · 0.45
authorize_redirectMethod · 0.45

Tested by

no test coverage detected