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

Method initialize

tornado/test/auth_test.py:66–70  ·  view source on GitHub ↗
(self, test, version)

Source from the content-addressed store, hash-verified

64
65class OAuth1ClientLoginHandler(RequestHandler, OAuthMixin):
66 def initialize(self, test, version):
67 self._OAUTH_VERSION = version
68 self._OAUTH_REQUEST_TOKEN_URL = test.get_url("/oauth1/server/request_token")
69 self._OAUTH_AUTHORIZE_URL = test.get_url("/oauth1/server/authorize")
70 self._OAUTH_ACCESS_TOKEN_URL = test.get_url("/oauth1/server/access_token")
71
72 def _oauth_consumer_token(self):
73 return dict(key="asdf", secret="qwer")

Callers

nothing calls this directly

Calls 1

get_urlMethod · 0.45

Tested by

no test coverage detected