summary refs log tree commit diff
path: root/synapse/config/experimental.py
diff options
context:
space:
mode:
authorHugh Nimmo-Smith <hughns@users.noreply.github.com>2022-09-21 16:12:29 +0100
committerGitHub <noreply@github.com>2022-09-21 15:12:29 +0000
commit0fd2f2d46064efd37284a36d5b478815d69ddd96 (patch)
treea3b9fca597bc47e7db3226dd8d1e13c84e770e69 /synapse/config/experimental.py
parentAdd `worker_main_http_uri` to the contrib bash script (#13772) (diff)
downloadsynapse-0fd2f2d46064efd37284a36d5b478815d69ddd96.tar.xz
Implementation of MSC3882 login token request (#13722)
Diffstat (limited to 'synapse/config/experimental.py')
-rw-r--r--synapse/config/experimental.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py
index f4541a8db0..bf27f6c101 100644
--- a/synapse/config/experimental.py
+++ b/synapse/config/experimental.py
@@ -96,3 +96,10 @@ class ExperimentalConfig(Config):
 
         # MSC3881: Remotely toggle push notifications for another client
         self.msc3881_enabled: bool = experimental.get("msc3881_enabled", False)
+
+        # MSC3882: Allow an existing session to sign in a new session
+        self.msc3882_enabled: bool = experimental.get("msc3882_enabled", False)
+        self.msc3882_ui_auth: bool = experimental.get("msc3882_ui_auth", True)
+        self.msc3882_token_timeout = self.parse_duration(
+            experimental.get("msc3882_token_timeout", "5m")
+        )