appservice-api: Add support for using the Authorization header

According to MSC2832
This commit is contained in:
Kévin Commaille 2022-10-02 13:08:35 +02:00 committed by Kévin Commaille
parent a7e10770fa
commit 19a388a923
9 changed files with 12 additions and 8 deletions

View File

@ -1,5 +1,9 @@
# [unreleased]
Improvements:
* Add support for using the Authorization header (MSC2832 / Matrix 1.4)
# 0.7.0
Breaking changes:

View File

@ -18,7 +18,7 @@ pub mod v1 {
name: "push_events",
stable_path: "/_matrix/app/v1/transactions/:txn_id",
rate_limited: false,
authentication: QueryOnlyAccessToken,
authentication: AccessToken,
added: 1.0,
}

View File

@ -16,7 +16,7 @@ pub mod v1 {
name: "query_room_alias",
stable_path: "/_matrix/app/v1/rooms/:room_alias",
rate_limited: false,
authentication: QueryOnlyAccessToken,
authentication: AccessToken,
added: 1.0,
}

View File

@ -16,7 +16,7 @@ pub mod v1 {
name: "query_user_id",
stable_path: "/_matrix/app/v1/users/:user_id",
rate_limited: false,
authentication: QueryOnlyAccessToken,
authentication: AccessToken,
added: 1.0,
}

View File

@ -19,7 +19,7 @@ pub mod v1 {
name: "get_location_for_protocol",
stable_path: "/_matrix/app/v1/thirdparty/location/:protocol",
rate_limited: false,
authentication: QueryOnlyAccessToken,
authentication: AccessToken,
added: 1.0,
}

View File

@ -16,7 +16,7 @@ pub mod v1 {
name: "get_location_for_room_alias",
stable_path: "/_matrix/app/v1/thirdparty/location",
rate_limited: false,
authentication: QueryOnlyAccessToken,
authentication: AccessToken,
added: 1.0,
}

View File

@ -17,7 +17,7 @@ pub mod v1 {
name: "get_protocol",
stable_path: "/_matrix/app/v1/thirdparty/protocol/:protocol",
rate_limited: false,
authentication: QueryOnlyAccessToken,
authentication: AccessToken,
added: 1.0,
}

View File

@ -19,7 +19,7 @@ pub mod v1 {
name: "get_user_for_protocol",
stable_path: "/_matrix/app/v1/thirdparty/user/:protocol",
rate_limited: false,
authentication: QueryOnlyAccessToken,
authentication: AccessToken,
added: 1.0,
}

View File

@ -16,7 +16,7 @@ pub mod v1 {
name: "get_user_for_user_id",
stable_path: "/_matrix/app/v1/thirdparty/user",
rate_limited: false,
authentication: QueryOnlyAccessToken,
authentication: AccessToken,
added: 1.0,
}