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/password_auth_provider_callbacks.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'develop/modules/password_auth_provider_callbacks.html') diff --git a/develop/modules/password_auth_provider_callbacks.html b/develop/modules/password_auth_provider_callbacks.html index dbc38dfd12..115ded8534 100644 --- a/develop/modules/password_auth_provider_callbacks.html +++ b/develop/modules/password_auth_provider_callbacks.html @@ -188,6 +188,7 @@ their Synapse installation with an external authentication system. The callbacks registered by using the Module API's register_password_auth_provider_callbacks method.

Callbacks

auth_checkers

+

First introduced in Synapse v1.46.0

 auth_checkers: Dict[Tuple[str,Tuple], Callable]
 

A dict mapping from tuples of a login type identifier (such as m.login.password) and a @@ -223,6 +224,7 @@ optionally a callback). In that case, the return value of that callback will be and subsequent callbacks will not be fired. If every callback returns None, then the authentication fails.

check_3pid_auth

+

First introduced in Synapse v1.46.0

async def check_3pid_auth(
     medium: str, 
     address: str,
@@ -247,6 +249,7 @@ callback that does not return None will be used. If this happens, S
 any of the subsequent implementations of this callback. If every callback return None,
 the authentication is denied.

on_logged_out

+

First introduced in Synapse v1.46.0

async def on_logged_out(
     user_id: str,
     device_id: Optional[str],
-- 
cgit 1.5.1