anonymousland-synapse/synapse
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
..
api Add a config option to block all room invites (#2457) 2017-09-19 16:08:14 +01:00
app Merge pull request #2586 from matrix-org/rav/frontend_proxy_auth_header 2017-10-27 11:01:50 +01:00
appservice Do logcontexts outside ResponseCache 2017-10-25 15:21:08 +01:00
config fix typo 2017-10-29 20:54:20 +00:00
crypto replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
events replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
federation Do logcontexts outside ResponseCache 2017-10-25 15:21:08 +01:00
groups Fix wording on group creation error 2017-10-30 15:17:23 +00:00
handlers Refactor some logic from LoginRestServlet into AuthHandler 2017-10-31 10:48:41 +00:00
http Merge pull request #2586 from matrix-org/rav/frontend_proxy_auth_header 2017-10-27 11:01:50 +01:00
metrics Rearrange metrics 2017-04-05 14:15:09 +01:00
push replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
replication replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
rest Refactor some logic from LoginRestServlet into AuthHandler 2017-10-31 10:48:41 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Merge branch 'erikj/attestation_local_fix' of github.com:matrix-org/synapse into develop 2017-10-27 15:07:08 +01:00
streams replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
util Do logcontexts outside ResponseCache 2017-10-25 15:21:08 +01:00
__init__.py Bump version and changelog 2017-10-24 14:15:27 +01:00
event_auth.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
notifier.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
python_dependencies.py Make 'affinity' package optional 2017-10-02 18:03:59 +01:00
server.py Merge branch 'develop' into erikj/groups_merged 2017-10-02 16:20:41 +01:00
server.pyi Doc some more dynamic Homeserver methods 2017-10-17 20:51:29 +01:00
state.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
types.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
visibility.py Don't filter out current state events from timeline 2017-09-18 17:13:03 +01:00