Searched refs:oauth_token (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gdocs/
H A Dchrome_ex_oauthsimple.js132 if(this._parameters['oauth_token'] === undefined) {
185 * @param signatures {object} object/hash of the token/signature pairs {api_key:, shared_secret:, oauth_token: oauth_secret:}
199 this._secrets.oauth_token = this._secrets.access_token;
211 if ((this._secrets.oauth_token !== undefined) && (this._secrets.oauth_secret === undefined)) {
212 throw('Missing oauth_secret for supplied oauth_token in OAuthSimple.setTokensAndSecrets');
380 if (this._secrets['oauth_token'] === undefined) {
381 throw('No oauth_token (access_token) set for OAuthSimple.');
383 this._parameters['oauth_token'] = this._secrets.oauth_token;
384 return this._parameters.oauth_token;
[all...]
H A Dchrome_ex_oauth.js29 this.key_token = "oauth_token";
185 oauth_token: token
216 oauth_token: token
441 var oauth_token = params['oauth_token'];
443 this.getAccessToken(oauth_token, oauth_verifier, callback);
513 var token = params['oauth_token'];
516 "oauth_token", token);
531 * @param {String} oauth_token The OAuth request token.
538 ChromeExOAuth.prototype.getAccessToken = function(oauth_token, oauth_verifie
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
H A Dchrome_ex_oauthsimple.js132 if(this._parameters['oauth_token'] === undefined) {
185 * @param signatures {object} object/hash of the token/signature pairs {api_key:, shared_secret:, oauth_token: oauth_secret:}
199 this._secrets.oauth_token = this._secrets.access_token;
211 if ((this._secrets.oauth_token !== undefined) && (this._secrets.oauth_secret === undefined)) {
212 throw('Missing oauth_secret for supplied oauth_token in OAuthSimple.setTokensAndSecrets');
380 if (this._secrets['oauth_token'] === undefined) {
381 throw('No oauth_token (access_token) set for OAuthSimple.');
383 this._parameters['oauth_token'] = this._secrets.oauth_token;
384 return this._parameters.oauth_token;
[all...]
H A Dchrome_ex_oauth.js29 this.key_token = "oauth_token";
185 oauth_token: token
216 oauth_token: token
441 var oauth_token = params['oauth_token'];
443 this.getAccessToken(oauth_token, oauth_verifier, callback);
513 var token = params['oauth_token'];
516 "oauth_token", token);
531 * @param {String} oauth_token The OAuth request token.
538 ChromeExOAuth.prototype.getAccessToken = function(oauth_token, oauth_verifie
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/
H A Dmain.py26 'oauth_token': 'INSERT OAUTH TOKEN HERE',
56 oauth_token = oauth2.Token(**{
57 'key': CONFIG['oauth_token'],
67 client = oauth2.Client(oauth_consumer, oauth_token)
/external/chromium_org/chrome/browser/chromeos/login/enrollment/
H A Denrollment_screen_actor.h50 virtual void OnOAuthTokenAvailable(const std::string& oauth_token) = 0;
H A Denrollment_screen.h81 virtual void OnOAuthTokenAvailable(const std::string& oauth_token) OVERRIDE;
/external/chromium_org/components/policy/core/common/cloud/
H A Dmock_device_management_service.h58 const std::string& oauth_token,
H A Ddevice_management_service.h59 void SetOAuthToken(const std::string& oauth_token);
H A Ddevice_management_service.cc361 void DeviceManagementRequestJob::SetOAuthToken(const std::string& oauth_token) { argument
362 AddParameter(dm_protocol::kParamOAuthToken, oauth_token);
H A Dcloud_policy_client_unittest.cc132 void ExpectRegistration(const std::string& oauth_token) { argument
138 "", oauth_token, "", "", _,
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
H A Dcall_main.cc274 std::string oauth_token = FLAG_oauth; local
335 if (pass.password().empty() && !test_server && oauth_token.empty()) {
368 if (!oauth_token.empty()) {
369 xcs.set_auth_token(buzz::AUTH_MECHANISM_OAUTH2, oauth_token);
/external/chromium_org/chrome/browser/ui/sync/
H A Done_click_signin_sync_starter.cc151 void OneClickSigninSyncStarter::ConfirmSignin(const std::string& oauth_token) { argument
152 DCHECK(!oauth_token.empty());
162 oauth_token,
H A Done_click_signin_sync_starter.h183 void ConfirmSignin(const std::string& oauth_token);
/external/chromium_org/chrome/browser/signin/
H A Dsignin_manager_unittest.cc183 void CompleteSigninCallback(const std::string& oauth_token) { argument
184 oauth_tokens_fetched_.push_back(oauth_token);
/external/chromium_org/chrome/browser/policy/test/
H A Dpolicy_testserver.py279 logging.debug('oauth token -> ' + str(self.GetUniqueParam('oauth_token')))
333 token from the oauth_token query parameter. Returns None if no token is
336 oauth_token = self.GetUniqueParam('oauth_token')
337 if oauth_token:
338 return oauth_token

Completed in 260 milliseconds