summary refs log tree commit diff
path: root/synapse/server.pyi
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2016-08-08 17:43:02 +0100
committerGitHub <noreply@github.com>2016-08-08 17:43:02 +0100
commitd3250499c1092415249dc8b24e8a3030e44da93d (patch)
tree3e7b9a5786caf92f89bad6539a4aa9a9ef2bc5a8 /synapse/server.pyi
parentMerge branch 'release-v0.17.0' of github.com:matrix-org/synapse (diff)
parentPEP8 (diff)
downloadsynapse-d3250499c1092415249dc8b24e8a3030e44da93d.tar.xz
Merge pull request #993 from matrix-org/rav/fix_token_login
Fix token login
Diffstat (limited to 'synapse/server.pyi')
-rw-r--r--synapse/server.pyi4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/server.pyi b/synapse/server.pyi
index c0aa868c4f..9570df5537 100644
--- a/synapse/server.pyi
+++ b/synapse/server.pyi
@@ -1,3 +1,4 @@
+import synapse.api.auth
 import synapse.handlers
 import synapse.handlers.auth
 import synapse.handlers.device
@@ -6,6 +7,9 @@ import synapse.storage
 import synapse.state
 
 class HomeServer(object):
+    def get_auth(self) -> synapse.api.auth.Auth:
+        pass
+
     def get_auth_handler(self) -> synapse.handlers.auth.AuthHandler:
         pass