MCPcopy Create free account
hub / github.com/EasyIME/PIME / get_login_url

Method get_login_url

python/python3/tornado/web.py:1359–1365  ·  view source on GitHub ↗

Override to customize the login URL based on the request. By default, we use the ``login_url`` application setting.

(self)

Source from the content-addressed store, hash-verified

1357 return None
1358
1359 def get_login_url(self) -> str:
1360 """Override to customize the login URL based on the request.
1361
1362 By default, we use the ``login_url`` application setting.
1363 """
1364 self.require_setting("login_url", "@tornado.web.authenticated")
1365 return self.application.settings["login_url"]
1366
1367 def get_template_path(self) -> Optional[str]:
1368 """Override to customize template path for each handler.

Callers 1

wrapperFunction · 0.45

Calls 1

require_settingMethod · 0.95

Tested by

no test coverage detected