/external/python/oauth2client/oauth2client/contrib/ |
D | devshell.py | 68 self.expires_in = pbl[3] if pbl_len > 3 else None 123 expires_in = self.devshell_response.expires_in 124 if expires_in is not None: 125 delta = datetime.timedelta(seconds=expires_in)
|
/external/python/oauth2client/tests/ |
D | test_service_account.py | 313 self.assertEqual(lifetime, token.expires_in) 330 self.assertEqual(lifetime, token.expires_in) 348 self.assertEqual(lifetime, token.expires_in) 410 self.assertEqual(token_info.expires_in, T1_EXPIRY - T1) 420 self.assertEqual(token_info.expires_in, T1_EXPIRY - T2) 429 expires_in = token_info.expires_in 432 self.assertEqual(expires_in, T3_EXPIRY - T3) 448 expires_in = token_info.expires_in 453 self.assertEqual(expires_in, T1_EXPIRY - T1)
|
D | test_client.py | 1130 self.assertEqual(lifetime, token.expires_in) 1144 self.assertEqual(lifetime, token.expires_in) 1160 self.assertEqual(lifetime, token.expires_in) 1176 def test_get_access_token_without_http(self, expires_in, refresh_mock): argument 1187 expires_in.assert_called_once_with() 1193 self.assertEqual(token_info.expires_in, 1194 expires_in.return_value) 1199 def test_get_access_token_with_http(self, expires_in, refresh_mock): argument 1212 self.assertEqual(token_info.expires_in, 1213 expires_in.return_value) [all …]
|
/external/python/oauth2client/tests/contrib/ |
D | test_devshell.py | 58 self.assertEqual(info_response.expires_in, None) 64 expires_in = 1 66 [user_email, project_id, access_token, expires_in]) 71 self.assertEqual(info_response.expires_in, expires_in)
|
D | test_appengine.py | 265 self.assertEqual(None, token.expires_in)
|
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.cc | 148 grpc_json* expires_in = nullptr; in grpc_oauth2_token_fetcher_credentials_parse_server_response() local 167 expires_in = ptr; in grpc_oauth2_token_fetcher_credentials_parse_server_response() 180 if (expires_in == nullptr || expires_in->type != GRPC_JSON_NUMBER) { in grpc_oauth2_token_fetcher_credentials_parse_server_response() 187 *token_lifetime = strtol(expires_in->value, nullptr, 10) * GPR_MS_PER_SEC; in grpc_oauth2_token_fetcher_credentials_parse_server_response()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ft.c | 1233 int expires_in; in wpa_ft_expire_pmk_r0() local 1241 expires_in = r0->expiration - now.sec; in wpa_ft_expire_pmk_r0() 1248 if ((!r0->expiration || expires_in > 0) && in wpa_ft_expire_pmk_r0() 1254 if (r0->expiration && expires_in > 0) in wpa_ft_expire_pmk_r0() 1255 eloop_register_timeout(expires_in + 1, 0, in wpa_ft_expire_pmk_r0() 1327 int expires_in, int session_timeout, in wpa_ft_store_pmk_r0() argument 1347 if (expires_in > 0) in wpa_ft_store_pmk_r0() 1348 r0->expiration = now.sec + expires_in; in wpa_ft_store_pmk_r0() 1375 if (expires_in > 0) in wpa_ft_store_pmk_r0() 1376 eloop_register_timeout(expires_in + 1, 0, wpa_ft_expire_pmk_r0, in wpa_ft_store_pmk_r0() [all …]
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | oauth_client.cc | 288 int64 expires_in = 0; in ParseOAuthResponse() local 289 TF_RETURN_IF_ERROR(ReadJsonInt(root, "expires_in", &expires_in)); in ParseOAuthResponse() 290 *expiration_timestamp_sec = request_timestamp_sec + expires_in; in ParseOAuthResponse()
|
D | google_auth_provider_test.cc | 161 "expires_in": 3920, in TEST_F() 177 "expires_in": 3920, in TEST_F()
|
D | oauth_client_test.cc | 42 "expires_in":3920,
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.cc | 165 const char* expires_in = nullptr; in grpc_oauth2_token_fetcher_credentials_parse_server_response() local 204 expires_in = it->second.string_value().c_str(); in grpc_oauth2_token_fetcher_credentials_parse_server_response() 205 *token_lifetime = strtol(expires_in, nullptr, 10) * GPR_MS_PER_SEC; in grpc_oauth2_token_fetcher_credentials_parse_server_response()
|
/external/python/oauth2client/oauth2client/ |
D | service_account.py | 617 access_token=self.access_token, expires_in=self._expires_in()) 622 access_token=token, expires_in=self._MAX_TOKEN_LIFETIME_SECS)
|
D | client.py | 679 expires_in=self._expires_in())
|
/external/python/apitools/apitools/base/py/ |
D | credentials_lib.py | 409 expires_in = int(credential_info['expires_in']) 411 datetime.timedelta(seconds=expires_in) +
|