diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-07-19 18:38:26 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-07-20 16:38:27 +0100 |
commit | b97a1356b149f62e5b2c28b09818d74b445cc635 (patch) | |
tree | 9b2e858408f706398fc0ab6c2c8b365252f68aad /tests/util/__init__.py | |
parent | Merge pull request #936 from matrix-org/erikj/log_rss (diff) | |
download | synapse-b97a1356b149f62e5b2c28b09818d74b445cc635.tar.xz |
Register a device_id in the /v2/register flow.
This doesn't cover *all* of the registration flows, but it does cover the most common ones: in particular: shared_secret registration, appservice registration, and normal user/pass registration. Pull device_id from the registration parameters. Register the device in the devices table. Associate the device with the returned access and refresh tokens. Profit.
Diffstat (limited to 'tests/util/__init__.py')
0 files changed, 0 insertions, 0 deletions