forked-synapse/synapse/handlers
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 Split out profile handler to fix tests 2017-08-25 14:34:56 +01:00
_base.py Add per user ratelimiting overrides 2017-05-10 11:05:43 +01:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py admin,storage: added more administrator functionalities 2017-02-02 14:02:26 +01:00
appservice.py storage/appservice: make appservice methods only relying on the cache synchronous 2016-10-06 15:24:59 +02:00
auth.py Refactor some logic from LoginRestServlet into AuthHandler 2017-10-31 10:48:41 +00:00
device.py Correctly handle leaving room in /key/changes 2017-09-18 15:38:22 +01:00
devicemessage.py Use new federation_sender DI 2016-11-16 14:47:52 +00:00
directory.py spam check room publishing 2017-10-04 14:29:33 +01:00
e2e_keys.py Replace some instances of preserve_context_over_deferred 2017-05-09 19:04:56 +01:00
events.py Use state handler instead of get_users_in_room/get_joined_hosts 2016-08-26 14:54:30 +01:00
federation.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
groups_local.py _create_rererouter for get_invited_users_in_group 2017-10-16 15:41:03 +01:00
identity.py Revert accidental commit 2017-04-26 11:43:16 +01:00
initial_sync.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
message.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +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
read_marker.py m.read_marker -> m.fully_read (#2128) 2017-04-18 17:46:15 +01:00
receipts.py fix a logcontext leak in read receipt handling 2017-10-11 14:37:20 +01:00
register.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
room_list.py Update room_list.py 2017-10-26 11:39:54 +01:00
room_member.py Merge pull request #2466 from matrix-org/erikj/groups_merged 2017-10-11 13:20:07 +01:00
room.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
search.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
sync.py Do logcontexts outside ResponseCache 2017-10-25 15:21:08 +01:00
typing.py Fix typing tests 2017-05-26 10:02:04 +01:00
user_directory.py Make some more params configurable 2017-06-22 14:59:52 +01:00