Add commentage.
parent
03c4f0ed67
commit
412ece18e7
|
@ -121,6 +121,10 @@ class AuthHandler(BaseHandler):
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def add_oob_auth(self, stagetype, authdict, clientip):
|
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:
|
if stagetype not in self.checkers:
|
||||||
raise LoginError(400, "", Codes.MISSING_PARAM)
|
raise LoginError(400, "", Codes.MISSING_PARAM)
|
||||||
if 'session' not in authdict:
|
if 'session' not in authdict:
|
||||||
|
|
Loading…
Reference in New Issue