class TimestampSigner(key=None, sep=':', salt=None) [source]
sign(value) [source]
Sign value and append current timestamp to it.
unsign(value, max_age=None) [source]
Checks if value was signed less than max_age seconds ago, otherwise raises SignatureExpired. The max_age parameter can accept an integer or a datetime.timedelta object.