This module provides a means for a user to manage their devices.
Client behaviour
Clients that implement this module should offer the user a list of
registered devices, as well as the means to update their display names.
Clients should also allow users to delete disused devices.
The devices were successfully removed, or had been removed
previously.
401
The homeserver requires additional authentication information.
401 response
Authentication response
Name
Type
Description
completed
[string]
A list of the stages the client has completed successfully
flows
Flow information
Required: A list of the login flows supported by the server for this API.
params
object
Contains any information that the client will need to know in order to
use a given type of authentication. For each login type presented,
that type may be present as a key in this dictionary. For example, the
public part of an OAuth client ID could be given here.
session
string
This is a session identifier that the client must pass back to the home
server, if one is provided, in subsequent attempts to authenticate in the
same API call.
Name
Type
Description
stages
[string]
Required: The login type of each of the stages required to complete this
authentication flow
The device was successfully removed, or had been removed
previously.
401
The homeserver requires additional authentication information.
401 response
Authentication response
Name
Type
Description
completed
[string]
A list of the stages the client has completed successfully
flows
Flow information
Required: A list of the login flows supported by the server for this API.
params
object
Contains any information that the client will need to know in order to
use a given type of authentication. For each login type presented,
that type may be present as a key in this dictionary. For example, the
public part of an OAuth client ID could be given here.
session
string
This is a session identifier that the client must pass back to the home
server, if one is provided, in subsequent attempts to authenticate in the
same API call.
Name
Type
Description
stages
[string]
Required: The login type of each of the stages required to complete this
authentication flow
Deleting devices has security implications: it invalidates the
access_token assigned to the device, so an attacker could use it to log
out the real user (and do it repeatedly every time the real user tries
to log in to block the attacker). Servers should require additional
authentication beyond the access token when deleting devices (for
example, requiring that the user resubmit their password).
The display names of devices are publicly visible. Clients should
consider advising the user of this.