summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-27 14:08:45 +0100
committerDavid Baker <dave@matrix.org>2015-04-27 14:08:45 +0100
commit412ece18e7edb87053a3684e49d5dd485f88a65d (patch)
tree5f792f9853088d138446010fac1d7dca9b9cadf7 /synapse/handlers/auth.py
parentpep8 (diff)
downloadsynapse-412ece18e7edb87053a3684e49d5dd485f88a65d.tar.xz
Add commentage.
Diffstat (limited to '')
-rw-r--r--synapse/handlers/auth.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index ef3219b38e..2e8009d3c3 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -121,6 +121,10 @@ class AuthHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def add_oob_auth(self, stagetype, authdict, clientip):
+        """
+        Adds the result of out-of-band authentication into an existing auth
+        session. Currently used for adding the result of fallback auth.
+        """
         if stagetype not in self.checkers:
             raise LoginError(400, "", Codes.MISSING_PARAM)
         if 'session' not in authdict: