Use the v2 Identity Service API for lookups (MSC2134 + MSC2140) (#5976)
This is a redo of https://github.com/matrix-org/synapse/pull/5897 but with `id_access_token` accepted. Implements [MSC2134](https://github.com/matrix-org/matrix-doc/pull/2134) plus Identity Service v2 authentication ala [MSC2140](https://github.com/matrix-org/matrix-doc/pull/2140). Identity lookup-related functions were also moved from `RoomMemberHandler` to `IdentityHandler`.
Showing
- changelog.d/5897.feature 1 addition, 0 deletionschangelog.d/5897.feature
- synapse/handlers/identity.py 34 additions, 22 deletionssynapse/handlers/identity.py
- synapse/handlers/room.py 3 additions, 1 deletionsynapse/handlers/room.py
- synapse/handlers/room_member.py 166 additions, 12 deletionssynapse/handlers/room_member.py
- synapse/rest/client/v1/room.py 1 addition, 0 deletionssynapse/rest/client/v1/room.py
- synapse/util/hash.py 33 additions, 0 deletionssynapse/util/hash.py
Loading
Please register or sign in to comment