mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-24 03:54:10 +01:00
Clarify arguments of window.matrixLogin.onLogin
Fixes: #1900 Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
e53e6ea876
commit
174a95f680
|
|
@ -1401,7 +1401,10 @@ fallback login API:
|
||||||
|
|
||||||
This returns an HTML and JavaScript page which can perform the entire
|
This returns an HTML and JavaScript page which can perform the entire
|
||||||
login process. The page will attempt to call the JavaScript function
|
login process. The page will attempt to call the JavaScript function
|
||||||
`window.matrixLogin.onLogin` when login has been successfully completed.
|
`window.matrixLogin.onLogin(response)` when login has been successfully
|
||||||
|
completed. The argument, `response`, is the JSON response body of
|
||||||
|
[`POST /_matrix/client/v3/login`](#post_matrixclientv3login) parsed
|
||||||
|
into a JavaScript object.
|
||||||
|
|
||||||
{{% added-in v="1.1" %}} Non-credential parameters valid for the `/login`
|
{{% added-in v="1.1" %}} Non-credential parameters valid for the `/login`
|
||||||
endpoint can be provided as query string parameters here. These are to be
|
endpoint can be provided as query string parameters here. These are to be
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue