Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dclient.py460 token_expiry, token_uri, user_agent, revoke_uri=None, argument
493 self.token_expiry = token_expiry
664 if not self.token_expiry:
668 if now >= self.token_expiry:
670 now, self.token_expiry)
708 if self.token_expiry:
710 if self.token_expiry > now:
711 time_delta = self.token_expiry - now
809 self.token_expiry = datetime.timedelta(
812 self.token_expiry = None
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_oauth2client.py203 self.assertEqual(None, credentials.token_expiry)
577 token_expiry = datetime.datetime.utcnow()
581 refresh_token, token_expiry, GOOGLE_TOKEN_URI,
644 instance.token_expiry = None
645 self.credentials.token_expiry = None
660 token_expiry = str(datetime.datetime.utcnow())
665 refresh_token, token_expiry, token_uri,
691 token_expiry = str(datetime.datetime.utcnow())
696 refresh_token, token_expiry, token_uri,
967 self.assertNotEqual(None, credentials.token_expiry)
[all …]
Dtest_keyring.py59 token_expiry = datetime.datetime.utcnow()
64 refresh_token, token_expiry, GOOGLE_TOKEN_URI,
Dtest_file.py73 token_expiry = expiration or datetime.datetime.utcnow()
79 refresh_token, token_expiry, token_uri,
Dtest_appengine.py320 token_expiry = datetime.datetime.utcnow()
324 refresh_token, token_expiry, GOOGLE_TOKEN_URI,
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dcredentials_lib.py335 self.token_expiry = (
339 self.token_expiry = None
355 credentials.token_expiry = datetime.datetime.strptime(
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/scripts/
Drun_system_tests.py90 token_expiry=None,
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Doauth2_client.py390 return AccessToken(credentials.access_token, credentials.token_expiry,
464 retval.token_expiry = datetime.datetime.strptime(
601 credentials.token_expiry, datetime_strategy=self.datetime_strategy)
Dtest_oauth2_client.py96 token_expiry = (datetime_strategy.utcnow()
98 return token_expiry