Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/firmware_TouchMTB/
Dauthenticator.py123 self.refresh_token = None
160 refresh_token = self.refresh_token)
162 if not self.refresh_token:
179 self.refresh_token = token.refresh_token
180 print 'REFRESH TOKEN is ' + self.refresh_token
194 self.refresh_token = token_file.readline().strip()
197 return self.refresh_token
210 token_file.write(self.refresh_token + '\n')
/external/autotest/client/common_lib/cros/fake_device_server/
Doauth.py74 refresh_token = params.get('refresh_token')
75 if refresh_token and refresh_token != self._device_refresh_token:
78 self._device_refresh_token, refresh_token)
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dclient.py459 def __init__(self, access_token, client_id, client_secret, refresh_token, argument
491 self.refresh_token = refresh_token
739 'refresh_token': self.refresh_token,
807 self.refresh_token = d.get('refresh_token', self.refresh_token)
843 self._do_revoke(http_request, self.refresh_token or self.access_token)
1038 def __init__(self, access_token, client_id, client_secret, refresh_token, argument
1060 access_token, client_id, client_secret, refresh_token, token_expiry,
1085 'refresh_token': self.refresh_token
1349 refresh_token=client_credentials['refresh_token'],
1986 refresh_token = d.get('refresh_token', None)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_keyring.py58 refresh_token = '1/0/a.df219fjls0'
64 refresh_token, token_expiry, GOOGLE_TOKEN_URI,
Dtest_oauth2client.py202 self.assertEqual('alabalaportocala', credentials.refresh_token)
576 refresh_token = '1/0/a.df219fjls0'
581 refresh_token, token_expiry, GOOGLE_TOKEN_URI,
625 self.credentials.refresh_token = None
659 refresh_token = u'1/0/a.df219fjls0'
665 refresh_token, token_expiry, token_uri,
690 refresh_token = u'1/0/a.df219fjls0'
696 refresh_token, token_expiry, token_uri,
968 self.assertEqual('8xLOxBtZp8', credentials.refresh_token)
994 self.assertEqual('8xLOxBtZp8', credentials.refresh_token)
Dtest_appengine.py319 refresh_token = '1/0/a.df219fjls0'
324 refresh_token, token_expiry, GOOGLE_TOKEN_URI,
590 self.found_credentials.refresh_token)
682 self.found_credentials.refresh_token)
Dtest_file.py72 refresh_token = '1/0/a.df219fjls0'
79 refresh_token, token_expiry, token_uri,
Dtest_devshell.py96 self.assertEquals(None, creds.refresh_token)
/external/libweave/src/
Dconfig_unittest.cc83 EXPECT_EQ("", GetSettings().refresh_token); in TEST_F()
147 "refresh_token": "state_refresh_token", in TEST_F()
180 EXPECT_EQ("state_refresh_token", GetSettings().refresh_token); in TEST_F()
246 EXPECT_EQ("set_token", GetSettings().refresh_token); in TEST_F()
Dconfig.h34 std::string refresh_token; member
92 settings_->refresh_token = token; in set_refresh_token()
Dconfig.cc137 CHECK(settings_.refresh_token.empty()); in Load()
261 dict.SetString(config_keys::kRefreshToken, settings_.refresh_token); in Save()
Ddevice_registration_info.cc319 return !GetSettings().refresh_token.empty() && in HaveRegistrationCredentials()
381 {"refresh_token", GetSettings().refresh_token}, in RefreshAccessToken()
620 std::string refresh_token; in RegisterDeviceOnAuthCodeSent() local
622 !json_resp->GetString("refresh_token", &refresh_token) || in RegisterDeviceOnAuthCodeSent()
624 access_token_.empty() || refresh_token.empty() || expires_in <= 0) { in RegisterDeviceOnAuthCodeSent()
636 change.set_refresh_token(refresh_token); in RegisterDeviceOnAuthCodeSent()
Ddevice_registration_info_unittest.cc558 dev_reg_->GetSettings().refresh_token); in TEST_F()
580 dev_reg_->GetSettings().refresh_token); in TEST_F()
Dweave_unittest.cc161 "refresh_token" : "REFRESH_TOKEN"
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Doauth2_client.py535 def __init__(self, token_uri, client_id, client_secret, refresh_token, argument
565 cache_key_base=refresh_token, auth_uri=auth_uri, token_uri=token_uri,
574 self.refresh_token = refresh_token
581 self.refresh_token, access_token.expiry, self.token_uri, None)
598 self.refresh_token, None, self.token_uri, None)
Dtest_oauth2_client.py76 def __init__(self, token_uri, client_id, client_secret, refresh_token, argument
79 token_uri, client_id, client_secret, refresh_token, auth_uri=auth_uri,
Doauth2_helper.py185 return credentials.refresh_token
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/samples/
Doauth2_for_devices.py28 print("Refresh token: {0}".format(credentials.refresh_token))
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/scripts/
Drun_system_tests.py89 refresh_token=client_credentials['refresh_token'],
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/
DCHANGELOG.md110 * Better logging for missing `refresh_token` in server replies (#21).
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dgcs_json_api.py367 key_dict['refresh_token'] = credentials.refresh_token