mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 09:00:44 -05:00
Support multiple login flows when deciding how to login. Updated cmdclient and spec. Webclient doesn't need updating for this.
This commit is contained in:
parent
52cfdfd5f1
commit
8d7d251c35
3 changed files with 23 additions and 16 deletions
|
|
@ -230,19 +230,21 @@ with all the valid login flows when requested::
|
|||
The client can login via 3 paths: 1a and 1b, 2a and 2b, or 3. The client should
|
||||
select one of these paths.
|
||||
|
||||
[
|
||||
{
|
||||
"type": "<login type1a>",
|
||||
"stages": [ "<login type 1a>", "<login type 1b>" ]
|
||||
},
|
||||
{
|
||||
"type": "<login type2a>",
|
||||
"stages": [ "<login type 2a>", "<login type 2b>" ]
|
||||
},
|
||||
{
|
||||
"type": "<login type3>"
|
||||
}
|
||||
]
|
||||
{
|
||||
"flows": [
|
||||
{
|
||||
"type": "<login type1a>",
|
||||
"stages": [ "<login type 1a>", "<login type 1b>" ]
|
||||
},
|
||||
{
|
||||
"type": "<login type2a>",
|
||||
"stages": [ "<login type 2a>", "<login type 2b>" ]
|
||||
},
|
||||
{
|
||||
"type": "<login type3>"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
After the login is completed, the client's fully-qualified user ID and a new access
|
||||
token MUST be returned::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue