From 001046b66e7cf9d27f0edda65c763a15c181fd26 Mon Sep 17 00:00:00 2001
From: erikjohnston 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. + + -