From 001046b66e7cf9d27f0edda65c763a15c181fd26 Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Tue, 12 Dec 2023 17:29:11 +0000 Subject: deploy: 15733b0931ceaa72cf4175c44fe58128fa273bac --- latest/modules/account_validity_callbacks.html | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'latest/modules/account_validity_callbacks.html') diff --git a/latest/modules/account_validity_callbacks.html b/latest/modules/account_validity_callbacks.html index eb23bf6f0b..af8c027580 100644 --- a/latest/modules/account_validity_callbacks.html +++ b/latest/modules/account_validity_callbacks.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -174,6 +187,13 @@ any of the subsequent implementations of this callback.

Called after successfully registering a user, in case the module needs to perform extra operations to keep track of them. (e.g. add them to a database table). The user is represented by their Matrix user ID.

+

If multiple modules implement this callback, Synapse runs them all in order.

+

on_user_login

+

First introduced in Synapse v1.98.0

+
async def on_user_login(user_id: str, auth_provider_type: str, auth_provider_id: str) -> None
+
+

Called after successfully login or registration of a user for cases when module needs to perform extra operations after auth. +represented by their Matrix user ID.

If multiple modules implement this callback, Synapse runs them all in order.

@@ -214,5 +234,7 @@ represented by their Matrix user ID.

+ + - \ No newline at end of file + -- cgit 1.5.1