synapse/synapse/api
Quentin Gliech 8a4e2e826d
Dedicated MAS API (#18520)
This introduces a dedicated API for MAS to consume. Companion PR on the
MAS side: element-hq/matrix-authentication-service#4801

This has a few advantages over the previous admin API:

- it works on workers (this will be documented once we stabilise MSC3861
as a whole)
 - it is more efficient because more focused
 - it propagates trace contexts from MAS
- it is only accessible to MAS (through the shared secret) and will let
us remove the weird hack that made this token 'admin' with a ghost
'@__oidc_admin:' user

The next MAS version should support it, but will be opt-in. The version
after that should use this new API by default

---------

Co-authored-by: Eric Eastwood <erice@element.io>
2025-07-21 16:17:43 +00:00
..
auth Dedicated MAS API (#18520) 2025-07-21 16:17:43 +00:00
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
auth_blocking.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
constants.py Allow admins to see soft failed events (if they want to) (#18238) 2025-07-14 16:55:19 +01:00
errors.py Forbid locked users from using POST /login (#18594) 2025-07-02 18:18:33 +02:00
filtering.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
presence.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
ratelimiting.py Lift pausing on ratelimited requests to http layer (#18595) 2025-06-25 14:32:55 +00:00
room_versions.py Support MSC3757: Restricting who can overwrite a state event (#17513) 2024-09-26 15:25:05 +02:00
urls.py Consolidate SSO redirects through /_matrix/client/v3/login/sso/redirect(/{idpId}) (#17972) 2024-11-29 11:26:37 -06:00