Searched refs:token_expiry (Results 1 – 9 of 9) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
D | client.py | 460 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/ |
D | test_oauth2client.py | 203 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 …]
|
D | test_keyring.py | 59 token_expiry = datetime.datetime.utcnow() 64 refresh_token, token_expiry, GOOGLE_TOKEN_URI,
|
D | test_file.py | 73 token_expiry = expiration or datetime.datetime.utcnow() 79 refresh_token, token_expiry, token_uri,
|
D | test_appengine.py | 320 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/ |
D | credentials_lib.py | 335 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/ |
D | run_system_tests.py | 90 token_expiry=None,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/ |
D | oauth2_client.py | 390 return AccessToken(credentials.access_token, credentials.token_expiry, 464 retval.token_expiry = datetime.datetime.strptime( 601 credentials.token_expiry, datetime_strategy=self.datetime_strategy)
|
D | test_oauth2_client.py | 96 token_expiry = (datetime_strategy.utcnow() 98 return token_expiry
|