MatrixSynapse/tests/handlers
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
oidc_test_key.p8
oidc_test_key.pub.pem
test_admin.py
test_appservice.py Federation Sender & Appservice Pusher Stream Optimisations (#13251) 2022-07-15 09:36:56 +01:00
test_auth.py
test_cas.py
test_deactivate_account.py Fix validation problem that occurs when a user tries to deactivate their account or change their password. (#13563) 2022-08-19 11:03:29 +00:00
test_device.py
test_directory.py Add missing type hints for tests.unittest. (#13397) 2022-07-27 17:18:41 +00:00
test_e2e_keys.py
test_e2e_room_keys.py
test_federation.py Faster Room Joins: don't leave a stuck room partial state flag if the join fails. (#13403) 2022-08-01 16:45:39 +00:00
test_federation_event.py Rename test case method to `add_hashes_and_signatures_from_other_server` (#13255) 2022-07-12 18:46:32 +00:00
test_message.py Use literals in place of `HTTPStatus` constants in tests (#13463) 2022-08-05 16:59:09 +02:00
test_oidc.py
test_password_providers.py Register homeserver modules when creating test homeserver (#13558) 2022-08-19 16:52:20 +01:00
test_presence.py
test_profile.py
test_receipts.py Support stable identifiers for MSC2285: private read receipts. (#13273) 2022-08-05 11:09:33 -04:00
test_register.py Register homeserver modules when creating test homeserver (#13558) 2022-08-19 16:52:20 +01:00
test_room.py
test_room_member.py Reduce the number of tests using TCP replication. (#13543) 2022-08-19 08:25:24 -04:00
test_room_summary.py
test_saml.py
test_send_email.py Support Implicit TLS for sending emails (#13317) 2022-07-25 16:27:19 +01:00
test_stats.py
test_sync.py Async get event cache prep (#13242) 2022-07-15 09:30:46 +00:00
test_typing.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
test_user_directory.py