Merge pull request #262 from matrix-org/daniel/asid
Add ID to application services
This commit is contained in:
commit
bd348b6810
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue