Merge pull request #2255 from matrix-org/travis/spec/is-auth
Spec the v2 IS auth APIs
This commit is contained in:
commit
f7e00b19e9
15 changed files with 226 additions and 32 deletions
|
@ -802,7 +802,8 @@ To use this authentication type, clients should submit an auth dict as follows:
|
|||
{
|
||||
"sid": "<identity server session id>",
|
||||
"client_secret": "<identity server client secret>",
|
||||
"id_server": "<url of identity server authed with, e.g. 'matrix.org:8090'>"
|
||||
"id_server": "<url of identity server authed with, e.g. 'matrix.org:8090'>",
|
||||
"id_access_token": "<access token previously registered with the identity server>"
|
||||
}
|
||||
],
|
||||
"session": "<session ID>"
|
||||
|
@ -830,7 +831,8 @@ To use this authentication type, clients should submit an auth dict as follows:
|
|||
{
|
||||
"sid": "<identity server session id>",
|
||||
"client_secret": "<identity server client secret>",
|
||||
"id_server": "<url of identity server authed with, e.g. 'matrix.org:8090'>"
|
||||
"id_server": "<url of identity server authed with, e.g. 'matrix.org:8090'>",
|
||||
"id_access_token": "<access token previously registered with the identity server>"
|
||||
}
|
||||
],
|
||||
"session": "<session ID>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue