mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-01 06:36:40 -05:00
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. |
||
|---|---|---|
| .. | ||
| api | ||
| app | ||
| appservice | ||
| config | ||
| crypto | ||
| events | ||
| federation | ||
| handlers | ||
| http | ||
| metrics | ||
| push | ||
| replication | ||
| rest | ||
| static/client | ||
| storage | ||
| streams | ||
| util | ||
| __init__.py | ||
| notifier.py | ||
| python_dependencies.py | ||
| server.py | ||
| state.py | ||
| types.py | ||
| visibility.py | ||