From 36bedb6c6afeb652ac75b72db634dde05af2797f Mon Sep 17 00:00:00 2001 From: babolivier Date: Wed, 20 Oct 2021 11:04:56 +0000 Subject: deploy: 78d5896d19692e4b6cdbf09f807915e6b0929ce5 --- develop/modules/account_validity_callbacks.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'develop/modules/account_validity_callbacks.html') diff --git a/develop/modules/account_validity_callbacks.html b/develop/modules/account_validity_callbacks.html index 1d6d0a734d..0eabf60bb7 100644 --- a/develop/modules/account_validity_callbacks.html +++ b/develop/modules/account_validity_callbacks.html @@ -189,6 +189,7 @@ Synapse instance. Account validity callbacks can be registered using the module register_account_validity_callbacks method.

The available account validity callbacks are:

is_user_expired

+

First introduced in Synapse v1.39.0

async def is_user_expired(user: str) -> Optional[bool]
 

Called when processing any authenticated request (except for logout requests). The module @@ -203,6 +204,7 @@ callback returns None, Synapse falls through to the next one. The v callback that does not return None will be used. If this happens, Synapse will not call any of the subsequent implementations of this callback.

on_user_registration

+

First introduced in Synapse v1.39.0

async def on_user_registration(user: str) -> None
 

Called after successfully registering a user, in case the module needs to perform extra -- cgit 1.5.1