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

Method get

tornado/test/auth_test.py:210–217  ·  tornado/test/auth_test.py::TwitterClientAuthenticateHandler.get
(self)

Source from the content-addressed store, hash-verified

208 class="cm"># instead of authorize_redirect.
209 @gen.coroutine
210 def get(self):
211 if self.get_argument(class="st">"oauth_token", None):
212 user = yield self.get_authenticated_user()
213 if user is None:
214 raise Exception(class="st">"user is None")
215 self.finish(user)
216 return
217 yield self.authenticate_redirect()
218
219
220class 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