anonymousland-synapse/synapse/rest/client/v1
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 copyrights 2016-01-07 04:26:29 +00:00
admin.py Add rest servlet. Fix SQL. 2016-07-06 15:56:59 +01:00
base.py copyrights 2016-01-07 04:26:29 +00:00
directory.py Add published room list edit API 2016-03-21 15:06:07 +00:00
events.py Remove redundant exception log in /events 2016-06-09 11:15:04 +01:00
initial_sync.py Fix relative imports so they work in both py3 and py27 2016-03-08 11:45:50 +00:00
login.py Add device_id support to /login 2016-07-18 16:39:44 +01:00
logout.py Implement logout 2016-03-11 16:27:50 +00:00
presence.py Move the presence handler out of the Handlers object 2016-05-16 18:56:37 +01:00
profile.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00: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 Working unsubscribe links going straight to the HS 2016-06-02 17:21:31 +01:00
register.py Bug fix: expire invalid access tokens 2016-07-13 15:00:37 +02:00
room.py Don't make rooms visibile by default 2016-06-08 14:47:42 +01:00
transactions.py copyrights 2016-01-07 04:26:29 +00:00
voip.py Fix relative imports so they work in both py3 and py27 2016-03-08 11:45:50 +00:00