backend.globaleaks.sessions

Module Contents

Classes

Session
SessionsFactory Extends TempDict to provide session management functions ontop of temp session keys
class backend.globaleaks.sessions.Session(tid, user_id, user_tid, user_role, pcn, two_factor, cc, ek, ms=False)[source]

Bases: object

getTime(self)[source]
serialize(self)[source]
class backend.globaleaks.sessions.SessionsFactory[source]

Bases: globaleaks.utils.tempdict.TempDict

Extends TempDict to provide session management functions ontop of temp session keys

revoke(self, tid, user_id)[source]
new(self, tid, user_id, user_tid, user_role, pcn, two_factor, cc, ek, ms=False)[source]
regenerate(self, session_id)[source]
backend.globaleaks.sessions.Sessions[source]