geodesic.account.tokens.Token.update_ttl#
- Token.update_ttl(ttl)[source]#
Update the time to live of a token in redis.
- Parameters:
ttl (int) – the amount of seconds before the token should expire. Valid values are either -1, representing an infinite token life, or n, where 0 < n <= 2147483647.
- Raises:
requests.HTTPErrror for fault –
Note: If successful, nothing is returned.