|
|
|
@ -33,7 +33,7 @@ paths:
|
|
|
|
|
|
|
|
|
|
Clients, both authenticated and unauthenticated, might wish to hide user interface which exposes
|
|
|
|
|
this feature if the server is not offering it. Authenticated clients can check for support on
|
|
|
|
|
a per-user basis with the `m.get_login_token` [capability](/client-server-api/#capabilities-negotiation),
|
|
|
|
|
a per-user basis with the [`m.get_login_token`](/client-server-api/#mget_login_token-capability) capability,
|
|
|
|
|
while unauthenticated clients can detect server support by looking for an `m.login.token` login
|
|
|
|
|
flow with `get_login_token: true` on [`GET /login`](/client-server-api/#post_matrixclientv3login).
|
|
|
|
|
|
|
|
|
@ -98,8 +98,8 @@ paths:
|
|
|
|
|
The request was malformed, or the user does not have an ability to generate tokens for their devices,
|
|
|
|
|
as implied by the [User-Interactive Authentication API](/client-server-api/#user-interactive-authentication-api).
|
|
|
|
|
|
|
|
|
|
Clients should verify whether the user has an ability to call this endpoint with the `m.get_login_token`
|
|
|
|
|
[capability](/client-server-api/#capabilities-negotiation).
|
|
|
|
|
Clients should verify whether the user has an ability to call this endpoint with the
|
|
|
|
|
[`m.get_login_token`](/client-server-api/#mget_login_token-capability) capability.
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|