synapse/tests/storage
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 Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
event_injector.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test__base.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_appservice.py Fix AS retries, but with correct ordering 2016-06-07 10:24:50 +01:00
test_background_update.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_base.py Don't require config to create database 2016-04-06 14:15:45 +01:00
test_directory.py copyrights 2016-01-07 04:26:29 +00:00
test_events.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_presence.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
test_profile.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_redaction.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
test_registration.py Add device_id support to /login 2016-07-18 16:39:44 +01:00
test_room.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_roommember.py get_room_members is unused now 2016-05-16 19:51:43 +01:00