forked-synapse/synapse/rest/client/v2_alpha
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
_base.py Add a parse_json_object function 2016-03-09 11:26:26 +00:00
account_data.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
account.py Add hs object 2016-07-14 10:25:52 +01:00
auth.py Split out the auth handler 2016-06-02 13:31:45 +01:00
filter.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
keys.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
openid.py Rename openid/token to openid/request_token 2016-05-05 15:15:00 +01:00
receipts.py Move the presence handler out of the Handlers object 2016-05-16 18:56:37 +01:00
register.py Use body.get to check for 'user' 2016-07-16 18:44:08 +01:00
report_event.py Add timestamp and auto incrementing ID 2016-05-04 15:19:12 +01:00
sync.py Move SyncHandler out of the Handlers object 2016-05-16 20:19:26 +01:00
tags.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
tokenrefresh.py Add device_id support to /login 2016-07-18 16:39:44 +01:00