mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-20 13:03:42 +01:00
Merge pull request #262 from matrix-org/daniel/asid
Add ID to application services
This commit is contained in:
commit
bd348b6810
|
|
@ -71,6 +71,7 @@ traffic to the AS is:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
id: <user-defined unique ID of AS which will never change>
|
||||||
url: <base url of AS>
|
url: <base url of AS>
|
||||||
as_token: <token AS will add to requests to HS>
|
as_token: <token AS will add to requests to HS>
|
||||||
hs_token: <token HS will add to requests to AS>
|
hs_token: <token HS will add to requests to AS>
|
||||||
|
|
@ -85,8 +86,8 @@ traffic to the AS is:
|
||||||
|
|
||||||
.. WARNING::
|
.. WARNING::
|
||||||
If the homeserver in question has multiple application services, each
|
If the homeserver in question has multiple application services, each
|
||||||
``as_token`` MUST be unique per application service as this token is used to
|
``as_token`` and ``id`` MUST be unique per application service as these are
|
||||||
identify the application service. The homeserver MUST enforce this.
|
used to identify the application service. The homeserver MUST enforce this.
|
||||||
|
|
||||||
|
|
||||||
Homeserver -> Application Service API
|
Homeserver -> Application Service API
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue