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

Method get

tornado/test/auth_test.py:76–85  ·  tornado/test/auth_test.py::OAuth1ClientLoginHandler.get
(self)

Source from the content-addressed store, hash-verified

74
75 @gen.coroutine
76 def get(self):
77 if self.get_argument(class="st">"oauth_token", None):
78 user = yield self.get_authenticated_user(
79 http_client=self.settings[class="st">"http_client"]
80 )
81 if user is None:
82 raise Exception(class="st">"user is None")
83 self.finish(user)
84 return
85 yield self.authorize_redirect(http_client=self.settings[class="st">"http_client"])
86
87 @gen.coroutine
88 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