forked-synapse/synapse/replication/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
..
__init__.py Typing worker needs to handle stream update requests (#7967) 2020-07-28 11:04:53 +01:00
_base.py Add type hints to response cache. (#8507) 2020-10-09 11:35:11 -04:00
devices.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
federation.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
login.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
membership.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
presence.py Convert replication code to async/await. (#7987) 2020-08-03 07:12:55 -04:00
register.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
send_event.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
streams.py Convert replication code to async/await. (#7987) 2020-08-03 07:12:55 -04:00