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

Method get

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

Source from the content-addressed store, hash-verified

198 # instead of authorize_redirect.
199 @gen.coroutine
200 def get(self):
201 if self.get_argument("oauth_token", None):
202 user = yield self.get_authenticated_user()
203 if user is None:
204 raise Exception("user is None")
205 self.finish(user)
206 return
207 yield self.authenticate_redirect()
208
209
210class TwitterClientLoginGenCoroutineHandler(TwitterClientHandler):

Callers

nothing calls this directly

Calls 4

get_argumentMethod · 0.80
finishMethod · 0.45
authenticate_redirectMethod · 0.45

Tested by

no test coverage detected