Home
last modified time | relevance | path

Searched refs:token_ts (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Dauth.py280 def validate_token(self, user_id, token, token_ts=None): argument
296 delete = token_ts and ((now - token_ts) > self.config['token_max_age'])
319 def validate_cache_timestamp(self, cache_ts, token_ts=None): argument
332 if valid and token_ts:
333 valid2 = (now - token_ts) < self.config['token_max_age']
334 valid3 = (now - token_ts) < self.config['token_new_age']
379 token_ts=data['token_ts'], cache=data,
385 def get_user_by_token(self, user_id, token, token_ts=None, cache=None, argument
413 valid = self.store.validate_cache_timestamp(cache_ts, token_ts)
422 token_ts=token_ts)
[all …]