Merge pull request #262 from matrix-org/daniel/asid

Add ID to application services
This commit is contained in:
Daniel Wagner-Hall 2016-01-14 11:05:58 +00:00
commit bd348b6810

View file

@ -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