synapse-old/synapse/api
Quentin Gliech 3dd175b628
`synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024)
Part of #13019

This changes all the permission-related methods to rely on the Requester instead of the UserID. This is a first step towards enabling scoped access tokens at some point, since I expect the Requester to have scope-related informations in it.

It also changes methods which figure out the user/device/appservice out of the access token to return a Requester instead of something else. This avoids having store-related objects in the methods signatures.
2022-08-22 14:17:59 +01:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
auth.py `synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024) 2022-08-22 14:17:59 +01:00
auth_blocking.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
constants.py MSC2716v4 room version - remove namespace from MSC2716 event content fields (#13551) 2022-08-19 15:37:01 -05:00
errors.py Implement MSC3848: Introduce errcodes for specific event sending failures (#13343) 2022-07-27 13:44:40 +01:00
filtering.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
presence.py Add missing type hints to synapse.api. (#11109) 2021-10-18 15:01:10 -04:00
ratelimiting.py Rename `RateLimitConfig` to `RatelimitSettings` (#13442) 2022-08-03 10:40:20 +01:00
room_versions.py MSC2716v4 room version - remove namespace from MSC2716 event content fields (#13551) 2022-08-19 15:37:01 -05:00
urls.py Remove support for the webclient listener. (#11895) 2022-02-03 18:36:49 +00:00