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_data_callbacks.html | 17 ++++++++++++++- latest/modules/account_validity_callbacks.html | 24 +++++++++++++++++++++- ...add_extra_fields_to_client_events_unsigned.html | 17 ++++++++++++++- .../background_update_controller_callbacks.html | 17 ++++++++++++++- latest/modules/index.html | 17 ++++++++++++++- .../modules/password_auth_provider_callbacks.html | 17 ++++++++++++++- latest/modules/porting_legacy_module.html | 17 ++++++++++++++- latest/modules/presence_router_callbacks.html | 17 ++++++++++++++- latest/modules/spam_checker_callbacks.html | 17 ++++++++++++++- latest/modules/third_party_rules_callbacks.html | 17 ++++++++++++++- latest/modules/writing_a_module.html | 17 ++++++++++++++- 11 files changed, 183 insertions(+), 11 deletions(-) (limited to 'latest/modules') diff --git a/latest/modules/account_data_callbacks.html b/latest/modules/account_data_callbacks.html index 9004174bb1..b9968f15bc 100644 --- a/latest/modules/account_data_callbacks.html +++ b/latest/modules/account_data_callbacks.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -276,5 +289,7 @@ class CustomAccountDataModule: + + - \ No newline at end of file + 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 + diff --git a/latest/modules/add_extra_fields_to_client_events_unsigned.html b/latest/modules/add_extra_fields_to_client_events_unsigned.html index b23940d4bd..f004a2601a 100644 --- a/latest/modules/add_extra_fields_to_client_events_unsigned.html +++ b/latest/modules/add_extra_fields_to_client_events_unsigned.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -206,5 +219,7 @@ section, the last-registered callback wins.

+ + - \ No newline at end of file + diff --git a/latest/modules/background_update_controller_callbacks.html b/latest/modules/background_update_controller_callbacks.html index 62851e877b..83b5cd2e4e 100644 --- a/latest/modules/background_update_controller_callbacks.html +++ b/latest/modules/background_update_controller_callbacks.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -232,5 +245,7 @@ ensure that progress is always made.

+ + - \ No newline at end of file + diff --git a/latest/modules/index.html b/latest/modules/index.html index d56942176c..629c6997c6 100644 --- a/latest/modules/index.html +++ b/latest/modules/index.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -227,5 +240,7 @@ another part of Synapse's configuration file.

+ + - \ No newline at end of file + diff --git a/latest/modules/password_auth_provider_callbacks.html b/latest/modules/password_auth_provider_callbacks.html index 941dc90d12..7b07acdfe1 100644 --- a/latest/modules/password_auth_provider_callbacks.html +++ b/latest/modules/password_auth_provider_callbacks.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -424,5 +437,7 @@ class MyAuthProvider: + + - \ No newline at end of file + diff --git a/latest/modules/porting_legacy_module.html b/latest/modules/porting_legacy_module.html index b19e5c6612..7d4b928be4 100644 --- a/latest/modules/porting_legacy_module.html +++ b/latest/modules/porting_legacy_module.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -202,5 +215,7 @@ for more info).

+ + - \ No newline at end of file + diff --git a/latest/modules/presence_router_callbacks.html b/latest/modules/presence_router_callbacks.html index 1574797c03..1b0457de7c 100644 --- a/latest/modules/presence_router_callbacks.html +++ b/latest/modules/presence_router_callbacks.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -273,5 +286,7 @@ class CustomPresenceRouter: + + - \ No newline at end of file + diff --git a/latest/modules/spam_checker_callbacks.html b/latest/modules/spam_checker_callbacks.html index 4b5378feaa..2092387123 100644 --- a/latest/modules/spam_checker_callbacks.html +++ b/latest/modules/spam_checker_callbacks.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -564,5 +577,7 @@ class ListSpamChecker: + + - \ No newline at end of file + diff --git a/latest/modules/third_party_rules_callbacks.html b/latest/modules/third_party_rules_callbacks.html index d235c91239..c601154292 100644 --- a/latest/modules/third_party_rules_callbacks.html +++ b/latest/modules/third_party_rules_callbacks.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -433,5 +446,7 @@ class EventCensorer: + + - \ No newline at end of file + diff --git a/latest/modules/writing_a_module.html b/latest/modules/writing_a_module.html index 5c0ac0de25..ac3ac5555f 100644 --- a/latest/modules/writing_a_module.html +++ b/latest/modules/writing_a_module.html @@ -28,6 +28,7 @@ + @@ -103,6 +104,18 @@ +
+ +

Synapse

@@ -294,5 +307,7 @@ class MyModule: + + - \ No newline at end of file + -- cgit 1.4.1