0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-01 08:58:19 +02:00
synapse/docs/modules
Brendan Abolivier 2d3bd9aa67
Add a module callback to set username at registration (#11790)
This is in the context of mainlining the Tchap fork of Synapse. Currently in Tchap usernames are derived from the user's email address (extracted from the UIA results, more specifically the m.login.email.identity step).
This change also exports the check_username method from the registration handler as part of the module API, so that a module can check if the username it's trying to generate is correct and doesn't conflict with an existing one, and fallback gracefully if not.

Co-authored-by: David Robertson <davidr@element.io>
2022-01-26 14:21:13 +00:00
..
account_validity_callbacks.md Document the version of Synapse each module callback was introduced in (#11132) 2021-10-20 11:04:27 +00:00
background_update_controller_callbacks.md Make background updates controllable via a plugin (#11306) 2021-11-29 17:57:06 +01:00
index.md Document Synapse's behaviour when dealing with multiple modules (#11096) 2021-10-18 18:26:52 +02:00
password_auth_provider_callbacks.md Add a module callback to set username at registration (#11790) 2022-01-26 14:21:13 +00:00
porting_legacy_module.md Port the Password Auth Providers module interface to the new generic interface (#10548) 2021-10-13 11:21:52 +00:00
presence_router_callbacks.md Document the version of Synapse each module callback was introduced in (#11132) 2021-10-20 11:04:27 +00:00
spam_checker_callbacks.md Deprecate user_may_create_room_with_invites (#11206) 2021-11-01 10:46:08 +01:00
third_party_rules_callbacks.md Make check_event_allowed module API callback not fail open (accept events) when an exception is raised (#11033) 2021-11-01 15:45:56 +00:00
writing_a_module.md Make background updates controllable via a plugin (#11306) 2021-11-29 17:57:06 +01:00