Merge pull request #1113 from zecakeh/refresh-token-inhibit

`refresh_token` is omitted if `inhibit_login` is true
This commit is contained in:
Hubert Chathi 2022-06-13 05:30:47 -04:00 committed by GitHub
commit 10615c5385
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1 @@
Add refresh tokens, per [MSC2918](https://github.com/matrix-org/matrix-spec-proposals/pull/2918).

View file

@ -165,7 +165,7 @@ paths:
obtain a new access token when it expires by calling the
`/refresh` endpoint.
Omitted if the `inhibit_login` option is false.
Omitted if the `inhibit_login` option is true.
x-addedInMatrixVersion: "1.3"
expires_in_ms:
type: integer
@ -177,7 +177,7 @@ paths:
to obtain a new access token. If not given, the client can
assume that the access token will not expire.
Omitted if the `inhibit_login` option is false.
Omitted if the `inhibit_login` option is true.
x-addedInMatrixVersion: "1.3"
home_server:
type: string