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

`refresh_token` is omitted if `inhibit_login` is true
pull/1120/head
Hubert Chathi 2 years ago committed by GitHub
commit 10615c5385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

Loading…
Cancel
Save