def notifyOnExpire(self, callback):
        self.expireCallbacks.append(callback)
Call this callback when the session expires or logs out.
dataset/ETHPy150Open twisted/nevow/nevow/guard.py/GuardSession.notifyOnExpire