synapse-product/synapse/handlers
Richard van der Hoff f863a52cea Add device_id support to /login
Add a 'devices' table to the storage, as well as a 'device_id' column to
refresh_tokens.

Allow the client to pass a device_id, and initial_device_display_name, to
/login. If login is successful, then register the device in the devices table
if it wasn't known already. If no device_id was supplied, make one up.

Associate the device_id with the access token and refresh token, so that we can
get at it again later. Ensure that the device_id is copied from the refresh
token to the access_token when the token is refreshed.
2016-07-18 16:39:44 +01:00
..
__init__.py Split out the auth handler 2016-06-02 13:31:45 +01:00
_base.py Fix a doc-comment 2016-07-18 09:48:10 +01:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py copyrights 2016-01-07 04:26:29 +00:00
appservice.py Move the AS handler out of the Handlers object. 2016-05-31 13:53:48 +01:00
auth.py Add device_id support to /login 2016-07-18 16:39:44 +01:00
device.py Add device_id support to /login 2016-07-18 16:39:44 +01:00
directory.py Move the AS handler out of the Handlers object. 2016-05-31 13:53:48 +01:00
events.py Move the presence handler out of the Handlers object 2016-05-16 18:56:37 +01:00
federation.py Comment 2016-07-15 09:29:54 +01:00
identity.py requestToken update 2016-06-30 17:51:28 +01:00
message.py Add ReadWriteLock for pagination and history prune 2016-07-05 15:30:25 +01:00
presence.py .values() returns list of sets 2016-06-06 16:00:09 +01:00
profile.py Remove registered_users from the distributor. 2016-06-17 19:14:16 +01:00
receipts.py Replaces calls to fetch_room_distributions_into with get_joined_hosts_for_room 2016-05-16 19:48:07 +01:00
register.py Bug fix: expire invalid access tokens 2016-07-13 15:00:37 +02:00
room_member.py Remove unused get_joined_rooms_for_user 2016-05-17 10:20:51 +01:00
room.py Pull full state for each room all at once 2016-06-08 15:51:49 +01:00
search.py move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00
sync.py Load push rules in storage layer, so that they get cached 2016-06-03 11:10:00 +01:00
typing.py Don't hit DB for noop replications queries 2016-06-08 11:33:30 +01:00