Add section on device IDs for reg/login

Final cleanup before merge
use-cases
Kegsay 9 years ago
parent ccf8408e92
commit fcbdc39674

@ -54,8 +54,6 @@ This contains the formal proposal for Matrix Client-Server API v2. This API
would completely replace v1. It is a general API, not specific to any particular would completely replace v1. It is a general API, not specific to any particular
protocol e.g. HTTP. The following APIs will remain unchanged from v1: protocol e.g. HTTP. The following APIs will remain unchanged from v1:
- Registration API
- Login API
- Content repository API - Content repository API
This version will change the path prefix for HTTP: This version will change the path prefix for HTTP:
@ -547,14 +545,15 @@ The removal of the ``displayname`` and ``avatar_url`` keys from ``m.room.member`
can only be done if the client trusts their HS, as it will break the sending HS's can only be done if the client trusts their HS, as it will break the sending HS's
signature. Requesting the "raw" federation event will have to return these keys. signature. Requesting the "raw" federation event will have to return these keys.
Account Management API ``[ONGOING]`` Account Management API ``[Draft]``
------------------------------------ ----------------------------------
.. NOTE:: The registration and login APIs in v2 do not support specifying device IDs. In v2,
- How do device IDs fit into everything else? Namely, where do we tell the HS this will become *mandatory* when sending your initial request. Access tokens will
what device ID we are? be scoped per device, so using the same device ID twice when logging in will
clobber the old access token.
Users may wish to delete their account, revoke access tokens, manage In terms of additional APIs, users may wish to delete their account, revoke access
their devices, etc. This is achieved using an account management API. tokens, manage their devices, etc. This is achieved using an account management API.
Deleting an account: Deleting an account:
@ -772,8 +771,8 @@ Outputs:
What data flows does it address: What data flows does it address:
- Chat Screen: Leave a room - Chat Screen: Leave a room
Send a message ``[ONGOING]`` Send a message ``[Draft]``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Inputs: Inputs:
- Room ID - Room ID
- Message contents - Message contents

Loading…
Cancel
Save