Use auth header instead of query param for hs->as comms (#1200)
* Use auth header instead of query param for hs->as comms MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/2832 * Fix for OpenAPI 2
This commit is contained in:
parent
ef384f1afd
commit
6dc7b95e18
3 changed files with 26 additions and 8 deletions
|
@ -1,4 +1,5 @@
|
|||
# Copyright 2018 New Vector Ltd
|
||||
# Copyright 2022 The Matrix.org Foundation C.I.C.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
@ -13,6 +14,6 @@
|
|||
# limitations under the License.
|
||||
homeserverAccessToken:
|
||||
type: apiKey
|
||||
description: The `hs_token` provided by the application service's registration.
|
||||
name: access_token
|
||||
in: query
|
||||
name: Authorization
|
||||
in: header
|
||||
description: The `Bearer` `hs_token` provided by the application service's registration.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue