forked-synapse/synapse/http
Erik Johnston f21e24ffc2
Add ability for access tokens to belong to one user but grant access to another user. (#8616)
We do it this way round so that only the "owner" can delete the access token (i.e. `/logout/all` by the "owner" also deletes that token, but `/logout/all` by the "target user" doesn't).

A future PR will add an API for creating such a token.

When the target user and authenticated entity are different the `Processed request` log line will be logged with a: `{@admin:server as @bob:server} ...`. I'm not convinced by that format (especially since it adds spaces in there, making it harder to use `cut -d ' '` to chop off the start of log lines). Suggestions welcome.
2020-10-29 15:58:44 +00:00
..
federation Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
__init__.py Fix handling of connection timeouts in outgoing http requests (#8400) 2020-09-29 10:29:21 +01:00
additional_resource.py Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
client.py Tell Black to format code for Python 3.5 (#8664) 2020-10-27 23:26:36 +00:00
connectproxyclient.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
endpoint.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
matrixfederationclient.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
proxyagent.py Fix handling of connection timeouts in outgoing http requests (#8400) 2020-09-29 10:29:21 +01:00
request_metrics.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
server.py Merge pull request #8678 from matrix-org/rav/fix_frozen_events 2020-10-28 20:41:42 +00:00
servlet.py Remove unused OPTIONS handlers. (#8621) 2020-10-22 08:35:55 -04:00
site.py Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00