Implementation of MSC3882 login token request (#13722)

This commit is contained in:
Hugh Nimmo-Smith 2022-09-21 16:12:29 +01:00 committed by GitHub
parent 269eddad6f
commit 0fd2f2d460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 238 additions and 0 deletions

View file

@ -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")
)