HomeSort by relevance Sort by last modified time
    Searched refs:oauth_token (Results 1 - 25 of 25) sorted by null

  /external/chromium_org/chrome/browser/chromeos/login/enrollment/
enrollment_screen_actor.h 40 virtual void OnOAuthTokenAvailable(const std::string& oauth_token) = 0;
enrollment_screen.h 44 virtual void OnOAuthTokenAvailable(const std::string& oauth_token) OVERRIDE;
  /external/chromium_org/chrome/browser/net/gaia/
gaia_oauth_fetcher_unittest.cc 31 MOCK_METHOD1(OnGetOAuthTokenSuccess, void(const std::string& oauth_token));
84 const std::string oauth_token = "4/OAuth1-Request_Token-1234567";
92 "oauth_token", // name
93 oauth_token, // value
113 EXPECT_CALL(consumer, OnGetOAuthTokenSuccess(oauth_token)).Times(1);
120 EXPECT_CALL(oauth_fetcher, StartOAuthGetAccessToken(oauth_token)).Times(1);
130 const std::string oauth_token = local
133 const std::string data("oauth_token="
139 OnOAuthGetAccessTokenSuccess(oauth_token,
148 StartOAuthWrapBridge(oauth_token,
    [all...]
gaia_oauth_consumer.h 18 virtual void OnGetOAuthTokenSuccess(const std::string& oauth_token) {}
  /external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/
chrome_ex_oauthsimple.js 132 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...]
chrome_ex_oauth.js 31 this.key_token = "oauth_token";
187 oauth_token: token
218 oauth_token: token
443 var oauth_token = params['oauth_token'];
445 this.getAccessToken(oauth_token, oauth_verifier, callback);
515 var token = params['oauth_token'];
518 "oauth_token", token);
533 * @param {String} oauth_token The OAuth request token.
540 ChromeExOAuth.prototype.getAccessToken = function(oauth_token, oauth_verifier
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
chrome_ex_oauthsimple.js 132 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...]
chrome_ex_oauth.js 31 this.key_token = "oauth_token";
187 oauth_token: token
218 oauth_token: token
443 var oauth_token = params['oauth_token'];
445 this.getAccessToken(oauth_token, oauth_verifier, callback);
515 var token = params['oauth_token'];
518 "oauth_token", token);
533 * @param {String} oauth_token The OAuth request token.
540 ChromeExOAuth.prototype.getAccessToken = function(oauth_token, oauth_verifier
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/extensions/wave/
chrome_ex_oauthsimple.js 132 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...]
chrome_ex_oauth.js 31 this.key_token = "oauth_token";
187 oauth_token: token
218 oauth_token: token
443 var oauth_token = params['oauth_token'];
445 this.getAccessToken(oauth_token, oauth_verifier, callback);
515 var token = params['oauth_token'];
518 "oauth_token", token);
533 * @param {String} oauth_token The OAuth request token.
540 ChromeExOAuth.prototype.getAccessToken = function(oauth_token, oauth_verifier
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/gdocs/
chrome_ex_oauthsimple.js 132 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...]
chrome_ex_oauth.js 29 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_verifier
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
chrome_ex_oauthsimple.js 132 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...]
chrome_ex_oauth.js 29 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_verifier
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/
main.py 26 'oauth_token': 'INSERT OAUTH TOKEN HERE',
55 oauth_token = oauth2.Token(**{
56 'key': CONFIG['oauth_token'],
66 client = oauth2.Client(oauth_consumer, oauth_token)
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/
main.py 26 '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/components/policy/core/common/cloud/
mock_device_management_service.h 57 const std::string& oauth_token,
device_management_service.h 57 void SetOAuthToken(const std::string& oauth_token);
device_management_service.cc 351 void DeviceManagementRequestJob::SetOAuthToken(const std::string& oauth_token) {
352 AddParameter(dm_protocol::kParamOAuthToken, oauth_token);
cloud_policy_client_unittest.cc 132 void ExpectRegistration(const std::string& oauth_token) {
138 "", oauth_token, "", "", _,
  /external/chromium_org/chrome/browser/signin/
signin_manager_unittest.cc 233 void CompleteSigninCallback(const std::string& oauth_token) {
234 oauth_tokens_fetched_.push_back(oauth_token);
238 void CancelSigninCallback(const std::string& oauth_token) {
239 oauth_tokens_fetched_.push_back(oauth_token);
  /external/chromium_org/chrome/browser/ui/sync/
one_click_signin_sync_starter.h 162 void ConfirmSignin(const std::string& oauth_token);
one_click_signin_sync_starter.cc 116 void OneClickSigninSyncStarter::ConfirmSignin(const std::string& oauth_token) {
117 DCHECK(!oauth_token.empty());
127 oauth_token,
  /external/chromium_org/third_party/libjingle/source/talk/examples/call/
call_main.cc 276 std::string oauth_token = FLAG_oauth; local
337 if (pass.password().empty() && !test_server && oauth_token.empty()) {
370 if (!oauth_token.empty()) {
371 xcs.set_auth_token(buzz::AUTH_MECHANISM_OAUTH2, oauth_token);
  /external/chromium_org/chrome/browser/policy/test/
policy_testserver.py 194 logging.debug('oauth token -> ' + str(self.GetUniqueParam('oauth_token')))
244 token from the oauth_token query parameter. Returns None if no token is
247 oauth_token = self.GetUniqueParam('oauth_token')
248 if oauth_token:
249 return oauth_token
    [all...]

Completed in 778 milliseconds