Update Anonymous Token System authored by Phil Höfer's avatar Phil Höfer
......@@ -30,5 +30,13 @@ The cookie contains the required number of tokens for the current search. A matc
Tokens are sent via the "tokens" http header. They are encoded as a JSON array of objects containing the token components. Those have to be retrieved from our [key server](https://gitlab.metager.de/open-source/metager-keymanager/-/blob/main/docs/api.md).
Example:\
`[ { "token": <TOKEN>, "signature": <SIGNATURE>, "date": <DATE_AS_SUPPLIED_IN_TOKEN_PUBKEY>, } ... ]`
\ No newline at end of file
```
[
{
"token": <TOKEN>,
"signature": <SIGNATURE>,
"date": <DATE_AS_SUPPLIED_IN_TOKEN_PUBKEY>,
}
...
]
```
\ No newline at end of file