mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-11 05:54:10 +01:00
Specify ID grammar and add comma
This commit is contained in:
parent
276e2b6843
commit
d4ca0c237a
|
|
@ -99,12 +99,13 @@ The server may instead choose to supply an `acceptance_token`, for example if,
|
||||||
as in the IS API, the user is unauthenticated and therefore the server is
|
as in the IS API, the user is unauthenticated and therefore the server is
|
||||||
unable to store the fact a user has agreed to a set of terms.
|
unable to store the fact a user has agreed to a set of terms.
|
||||||
|
|
||||||
The `acceptance_token` is opaque and it is up to the server how it computes it,
|
The `acceptance_token` is an opaque string contining characters
|
||||||
but the server must be able to given an `acceptance_token`, compute whether it
|
`[a-zA-Z0-9._-]`. It is up to the server how it computes it, but the server
|
||||||
constitutes agreement to a given set of terms. For example, the simplest (but
|
must be able to, given an `acceptance_token`, compute whether it constitutes
|
||||||
most verbose) implemenation would be to make the `acceptance_token` the JSON
|
agreement to a given set of terms. For example, the simplest (but most verbose)
|
||||||
array of documents as provided in the request. A smarter implementation may be
|
implemenation would be to make the `acceptance_token` the JSON array of
|
||||||
a simple hash, or even cryptograhic hash if desired.
|
documents as provided in the request. A smarter implementation may be a simple
|
||||||
|
hash, or even cryptograhic hash if desired.
|
||||||
|
|
||||||
### Third-Party Terms Account Data
|
### Third-Party Terms Account Data
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue