diff options
author | erikjohnston <erikjohnston@users.noreply.github.com> | 2023-12-01 14:33:10 +0000 |
---|---|---|
committer | erikjohnston <erikjohnston@users.noreply.github.com> | 2023-12-01 14:33:10 +0000 |
commit | 287fbe6daa6fff77239bca4ff259bcb196021164 (patch) | |
tree | 590cd29bac1b62fa95bbcaca76451a60570be53c /develop/modules | |
parent | deploy: 77882b6a7d1ad1ab76b0ff878b3daed894bdb26e (diff) | |
download | synapse-287fbe6daa6fff77239bca4ff259bcb196021164.tar.xz |
deploy: 63d96bfc61fcbf53e9607c63f215d2dde387de29
Diffstat (limited to 'develop/modules')
-rw-r--r-- | develop/modules/account_validity_callbacks.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/develop/modules/account_validity_callbacks.html b/develop/modules/account_validity_callbacks.html index eb23bf6f0b..de6ed46d89 100644 --- a/develop/modules/account_validity_callbacks.html +++ b/develop/modules/account_validity_callbacks.html @@ -175,6 +175,13 @@ any of the subsequent implementations of this callback.</p> operations to keep track of them. (e.g. add them to a database table). The user is represented by their Matrix user ID.</p> <p>If multiple modules implement this callback, Synapse runs them all in order.</p> +<h3 id="on_user_login"><a class="header" href="#on_user_login"><code>on_user_login</code></a></h3> +<p><em>First introduced in Synapse v1.98.0</em></p> +<pre><code class="language-python">async def on_user_login(user_id: str, auth_provider_type: str, auth_provider_id: str) -> None +</code></pre> +<p>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.</p> +<p>If multiple modules implement this callback, Synapse runs them all in order.</p> </main> |