client-api: allow /login to support authentication from appservices
This commit is contained in:
parent
93c1605a46
commit
4ffbed0e06
@ -31,7 +31,8 @@ Improvements:
|
|||||||
according to MSC4025.
|
according to MSC4025.
|
||||||
- Allow `discovery::get_supported_versions::v1` to optionally accept
|
- Allow `discovery::get_supported_versions::v1` to optionally accept
|
||||||
authentication, according to MSC4026.
|
authentication, according to MSC4026.
|
||||||
- Allow `account::register::v3` to accept authentication for appservices.
|
- Allow `account::register::v3` and `account::login::v3` to accept
|
||||||
|
authentication for appservices.
|
||||||
|
|
||||||
# 0.17.4
|
# 0.17.4
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ pub mod v3 {
|
|||||||
const METADATA: Metadata = metadata! {
|
const METADATA: Metadata = metadata! {
|
||||||
method: POST,
|
method: POST,
|
||||||
rate_limited: true,
|
rate_limited: true,
|
||||||
authentication: None,
|
authentication: AppserviceToken,
|
||||||
history: {
|
history: {
|
||||||
1.0 => "/_matrix/client/r0/login",
|
1.0 => "/_matrix/client/r0/login",
|
||||||
1.1 => "/_matrix/client/v3/login",
|
1.1 => "/_matrix/client/v3/login",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user