forked-synapse/synapse/rest
Richard van der Hoff 1b65ae00ac Refactor some logic from LoginRestServlet into AuthHandler
I'm going to need some more flexibility in handling login types in password
auth providers, so as a first step, move some stuff from LoginRestServlet into
AuthHandler.

In particular, we pass everything other than SAML, JWT and token logins down to
the AuthHandler, which now has responsibility for checking the login type and
fishing the password out of the login dictionary, as well as qualifying the
user_id if need be. Ideally SAML, JWT and token would go that way too, but
there's no real need for it right now and I'm trying to minimise impact.

This commit *should* be non-functional.
2017-10-31 10:48:41 +00:00
..
client Refactor some logic from LoginRestServlet into AuthHandler 2017-10-31 10:48:41 +00:00
key replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
media replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
__init__.py Add local group server support 2017-07-17 12:03:49 +01:00