-
- Downloads
Add a callback to allow modules to deny 3PID (#11854)
Part of the Tchap Synapse mainlining. This allows modules to implement extra logic to figure out whether a given 3PID can be added to the local homeserver. In the Tchap use case, this will allow a Synapse module to interface with the custom endpoint /internal_info.
Showing
- changelog.d/11854.feature 1 addition, 0 deletionschangelog.d/11854.feature
- docs/modules/password_auth_provider_callbacks.md 19 additions, 0 deletionsdocs/modules/password_auth_provider_callbacks.md
- synapse/handlers/auth.py 44 additions, 0 deletionssynapse/handlers/auth.py
- synapse/module_api/__init__.py 3 additions, 0 deletionssynapse/module_api/__init__.py
- synapse/rest/client/account.py 2 additions, 2 deletionssynapse/rest/client/account.py
- synapse/rest/client/register.py 5 additions, 3 deletionssynapse/rest/client/register.py
- synapse/util/threepids.py 12 additions, 1 deletionsynapse/util/threepids.py
- tests/handlers/test_password_providers.py 75 additions, 1 deletiontests/handlers/test_password_providers.py
Loading
Please register or sign in to comment