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

Method get

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

Source from the content-addressed store, hash-verified

33
34 @gen.coroutine
35 def get(self):
36 if self.get_argument("openid.mode", None):
37 user = yield self.get_authenticated_user(
38 http_client=self.settings["http_client"]
39 )
40 if user is None:
41 raise Exception("user is None")
42 self.finish(user)
43 return
44 res = self.authenticate_redirect() # type: ignore
45 assert res is None
46
47
48class OpenIdServerAuthenticateHandler(RequestHandler):

Callers

nothing calls this directly

Calls 4

get_argumentMethod · 0.80
finishMethod · 0.45
authenticate_redirectMethod · 0.45

Tested by

no test coverage detected