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

Method get

tornado/test/auth_test.py:196–203  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

194class TwitterClientLoginHandler(TwitterClientHandler):
195 @gen.coroutine
196 def get(self):
197 if self.get_argument("oauth_token", None):
198 user = yield self.get_authenticated_user()
199 if user is None:
200 raise Exception("user is None")
201 self.finish(user)
202 return
203 yield self.authorize_redirect()
204
205
206class TwitterClientAuthenticateHandler(TwitterClientHandler):

Callers

nothing calls this directly

Calls 4

get_argumentMethod · 0.80
finishMethod · 0.45
authorize_redirectMethod · 0.45

Tested by

no test coverage detected