more hooks for authenticators

Allow authenticators to:

- register custom handlers
- change login and logout URLs
- replace the entire login form

This appears to be enough to get oauth working.
This commit is contained in:
MinRK
2014-09-22 22:08:01 -07:00
parent ee5ad66ba7
commit 0577e10276
6 changed files with 41 additions and 7 deletions

View File

@@ -206,6 +206,7 @@ class BaseHandler(RequestHandler):
base_url=self.hub.server.base_url,
user=user,
login_url=self.settings['login_url'],
logout_url=self.settings['logout_url'],
static_url=self.static_url,
)