mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-24 06:53:43 +01:00
Do not point to specific authentication API for obtaining access token
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
ac4f65d3a8
commit
e864a20025
|
|
@ -14,8 +14,8 @@
|
||||||
accessTokenQuery:
|
accessTokenQuery:
|
||||||
type: apiKey
|
type: apiKey
|
||||||
description: |-
|
description: |-
|
||||||
**Deprecated.** The `access_token` returned by a call to `/login` or `/register`, as a query
|
**Deprecated.** The `access_token` obtained during [account registration](/client-server-api/#account-registration)
|
||||||
parameter.
|
or [login](/client-server-api/#login), as a query parameter.
|
||||||
|
|
||||||
It can also be the `as_token` of an application service.
|
It can also be the `as_token` of an application service.
|
||||||
name: access_token
|
name: access_token
|
||||||
|
|
@ -23,11 +23,11 @@ accessTokenQuery:
|
||||||
accessTokenBearer:
|
accessTokenBearer:
|
||||||
type: http
|
type: http
|
||||||
description: |-
|
description: |-
|
||||||
The `access_token` returned by a call to `/login` or `/register`, using the
|
The `access_token` obtained during [account registration](/client-server-api/#account-registration)
|
||||||
`Authorization: Bearer` header.
|
or [login](/client-server-api/#login), using the `Authorization: Bearer` header.
|
||||||
|
|
||||||
It can also be the `as_token` of an application service.
|
It can also be the `as_token` of an application service.
|
||||||
|
|
||||||
This is the preferred method.
|
This is the preferred method.
|
||||||
scheme: bearer
|
scheme: bearer
|
||||||
appserviceAccessTokenQuery:
|
appserviceAccessTokenQuery:
|
||||||
|
|
@ -42,6 +42,6 @@ appserviceAccessTokenBearer:
|
||||||
description: |-
|
description: |-
|
||||||
The `as_token` of an application service, using the `Authorization: Bearer`
|
The `as_token` of an application service, using the `Authorization: Bearer`
|
||||||
header.
|
header.
|
||||||
|
|
||||||
This is the preferred method.
|
This is the preferred method.
|
||||||
scheme: bearer
|
scheme: bearer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue