synapse-product/synapse/rest/client/v1
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
admin.py fix english 2017-08-04 23:56:42 +01:00
base.py Clean transactions based on time. Add HttpTransactionCache tests. 2016-11-14 11:19:24 +00:00
directory.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
events.py Make synchrotron accept /events 2016-08-12 15:31:44 +01:00
initial_sync.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
login.py Refactor some logic from LoginRestServlet into AuthHandler 2017-10-31 10:48:41 +00:00
logout.py Add helper function for getting access_tokens from requests 2016-09-09 16:33:15 +01:00
presence.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
profile.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
push_rule.py Load push rules in storage layer, so that they get cached 2016-06-03 11:10:00 +01:00
pusher.py Fix bug where pusherpool didn't start and broke some rooms 2017-07-06 17:55:51 +01:00
register.py Stop putting a time caveat on access tokens 2016-11-29 16:49:41 +00:00
room.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
voip.py add setting (on by default) to support TURN for guests 2017-03-15 12:22:18 +00:00