mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-07 07:08:57 +01:00
f863a52cea
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. |
||
---|---|---|
.. | ||
__init__.py | ||
test_appservice.py | ||
test_auth.py | ||
test_device.py | ||
test_directory.py | ||
test_presence.py | ||
test_profile.py | ||
test_register.py | ||
test_typing.py |