/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/ |
test_service_account.py | 98 token_response_first = {'access_token': 'first_token', 'expires_in': S} 99 token_response_second = {'access_token': 'second_token', 'expires_in': S} 107 self.assertEqual(S - 1, token.expires_in) 113 self.assertEqual(S - 1, token.expires_in) 122 self.assertEqual(S - 1, token.expires_in)
|
http_mock.py | 71 ({'status': '200'}, b'{"access_token":"1/3w","expires_in":3600}'),
|
test_gce.py | 93 self.assertEqual(None, token.expires_in)
|
test_oauth2client.py | 586 token_response = {'access_token': '1/3w', 'expires_in': 3600} 720 token_response_first = {'access_token': 'first_token', 'expires_in': S} 721 token_response_second = {'access_token': 'second_token', 'expires_in': S} 729 self.assertEqual(S - 1, token.expires_in) 735 self.assertEqual(S - 1, token.expires_in) 744 self.assertEqual(S - 1, token.expires_in) [all...] |
test_appengine.py | 118 'expires_in': 3600, 240 self.assertEqual(None, token.expires_in)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/ |
connection.py | 236 def build_post_form_args(self, bucket_name, key, expires_in=6000, 255 :type expires_in: integer 256 :param expires_in: Time (in seconds) before this expires, defaults 298 expiration = time.gmtime(int(time.time() + expires_in)) 353 def generate_url_sigv4(self, expires_in, method, bucket='', key='', 373 return self._auth_handler.presign(http_request, expires_in, 376 def generate_url(self, expires_in, method, bucket='', key='', headers=None, 381 return self.generate_url_sigv4(expires_in, method, bucket=bucket, 387 expires = int(expires_in) 389 expires = int(time.time() + expires_in) [all...] |
bucket.py | 625 def generate_url(self, expires_in, method='GET', headers=None, 628 return self.connection.generate_url(expires_in, method, self.name, [all...] |
key.py | 629 def generate_url(self, expires_in, method='GET', headers=None, 636 :type expires_in: int 637 :param expires_in: How long the url is valid for, in seconds 701 return self.bucket.connection.generate_url(expires_in, method, [all...] |
/external/libweave/src/ |
device_registration_info.cc | 406 int expires_in = 0; local 408 !json->GetInteger("expires_in", &expires_in) || access_token_.empty() || 409 expires_in <= 0) { 416 base::Time::Now() + base::TimeDelta::FromSeconds(expires_in); 417 LOG(INFO) << "Access token is refreshed for additional " << expires_in 619 int expires_in = 0; local 623 !json_resp->GetInteger("expires_in", &expires_in) || 624 access_token_.empty() || refresh_token.empty() || expires_in <= 0) [all...] |
weave_unittest.cc | 160 "expires_in" : 3599,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
credentials_lib.py | 333 if 'expires_in' in credential_info: 334 expires_in = int(credential_info['expires_in']) 336 datetime.timedelta(seconds=expires_in) +
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
client.py | 99 'AccessTokenInfo', ['access_token', 'expires_in']) 685 expires_in=self._expires_in()) 808 if 'expires_in' in d: 810 seconds=int(d['expires_in'])) + datetime.datetime.utcnow() [all...] |