0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-30 08:28:19 +02:00
synapse/tests
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
..
api Bug fix: expire invalid access tokens 2016-07-13 15:00:37 +02:00
appservice Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
config Add function to load config without generating it 2016-06-09 18:50:38 +01:00
crypto Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
events Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
handlers Add device_id support to /login 2016-07-18 16:39:44 +01:00
metrics Change CacheMetrics to be quicker 2016-06-03 11:26:52 +01:00
replication Remove room name & alias test 2016-06-24 13:34:20 +01:00
rest Split out the auth handler 2016-06-02 13:31:45 +01:00
storage Add device_id support to /login 2016-07-18 16:39:44 +01:00
util Add ReadWriteLock 2016-07-05 15:23:17 +01:00
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_distributor.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_dns.py Tests 2016-04-06 10:12:30 +01:00
test_state.py Create log context in Measure if one doesn't exist 2016-04-18 16:08:32 +01:00
test_test_utils.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_types.py Remove redundated BaseHomeServer 2016-01-26 13:52:29 +00:00
unittest.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
utils.py Rework ldap integration with ldap3 2016-06-22 17:51:59 +02:00