(self, cookieInterface, session_timeout_seconds = 60, **kwargs)
| 125 | When this event happens, ask for user login |
| 126 | """ |
| 127 | def __init__(self, cookieInterface, session_timeout_seconds = 60, **kwargs): |
| 128 | super(LoginManager, self).__init__(**kwargs) |
| 129 | gui.EventSource.__init__(self) |
| 130 | self.expired = True |
| 131 | self.session_uid = str(random.randint(1,999999999)) |
| 132 | self.cookieInterface = cookieInterface |
| 133 | self.session_timeout_seconds = session_timeout_seconds |
| 134 | self.timer_request_cookies() #starts the cookie refresh |
| 135 | self.timeout_timer = None #checks the internal timeout |
| 136 | |
| 137 | def timer_request_cookies(self): |
| 138 | self.cookieInterface.request_cookies() |
nothing calls this directly
no test coverage detected