backend.globaleaks.utils.token

Module Contents

Classes

Token
TokenList
class backend.globaleaks.utils.token.Token(tokenlist, tid)[source]

Bases: object

ttl = 1800[source]
update(self, answer)[source]
associate_file(self, fileinfo)[source]
serialize(self)[source]
class backend.globaleaks.utils.token.TokenList(state, file_path)[source]

Bases: globaleaks.utils.tempdict.TempDict

set_file_path(self, file_path)[source]
expireCallback(self, item)[source]
new(self, tid)[source]
get(self, key)[source]
use(self, key)[source]