/external/chromium_org/google_apis/gaia/ |
oauth2_access_token_consumer.h | 20 // Success callback. |access_token| will contain a valid OAuth2 access token. 23 virtual void OnGetTokenSuccess(const std::string& access_token,
|
gaia_auth_consumer.cc | 41 access_token(new_access_token), 49 access_token == b.access_token &&
|
oauth2_api_call_flow_unittest.cc | 91 const std::string& access_token, 93 : OAuth2ApiCallFlow(context, refresh_token, access_token, scopes) {} 103 void (const std::string& access_token)); 142 const std::string& access_token, 148 request_context_getter, refresh_token, access_token, scopes)); 173 std::string at = "access_token"; 185 std::string at = "access_token"; 203 std::string at = "access_token"; 221 std::string at = "access_token"; 237 std::string at = "access_token"; [all...] |
oauth2_access_token_fetcher.cc | 45 static const char kAccessTokenKey[] = "access_token"; 149 std::string access_token; local 151 if (!ParseGetAccessTokenResponse(source, &access_token, &expires_in)) { 160 access_token, 165 const std::string& access_token, 167 consumer_->OnGetTokenSuccess(access_token, expiration_time); 219 std::string* access_token, 222 CHECK(access_token); 231 return dict->GetString(kAccessTokenKey, access_token) &&
|
oauth2_mint_token_flow.cc | 107 : access_token(at), 121 parameters.access_token, 129 void OAuth2MintTokenFlow::ReportSuccess(const std::string& access_token, 132 delegate_->OnMintTokenSuccess(access_token, time_to_live); 203 std::string access_token; local 205 if (ParseMintTokenResponse(dict, &access_token, &time_to_live)) 206 ReportSuccess(access_token, time_to_live); 221 const std::string& access_token) { 233 const base::DictionaryValue* dict, std::string* access_token, 236 CHECK(access_token); [all...] |
oauth2_mint_token_flow.h | 84 std::string access_token; member in struct:OAuth2MintTokenFlow::Parameters 93 virtual void OnMintTokenSuccess(const std::string& access_token, 116 virtual void ProcessNewAccessToken(const std::string& access_token) OVERRIDE; 130 void ReportSuccess(const std::string& access_token, int time_to_live); 137 const base::DictionaryValue* dict, std::string* access_token,
|
oauth2_api_call_flow.cc | 38 const std::string& access_token, 42 access_token_(access_token), 138 void OAuth2ApiCallFlow::OnGetTokenSuccess(const std::string& access_token, 140 access_token_ = access_token;
|
oauth2_api_call_flow.h | 40 // Note that |access_token| can be empty. In that case, the flow will skip 45 const std::string& access_token, 54 virtual void OnGetTokenSuccess(const std::string& access_token, 75 virtual void ProcessNewAccessToken(const std::string& access_token) = 0;
|
/external/chromium_org/content/browser/geolocation/ |
network_location_request.cc | 44 const string16& access_token, 54 string16* access_token); 62 string16* access_token); 82 bool NetworkLocationRequest::MakeRequest(const string16& access_token, 97 FormUploadData(wifi_data, timestamp, access_token, &upload_data); 117 string16 access_token; local 126 &access_token); 144 listener_->LocationResponseAvailable(position, server_error, access_token, 176 const string16& access_token, 188 if (!access_token.empty() [all...] |
fake_access_token_store.cc | 48 const GURL& server_url, const string16& access_token) { 50 access_token_set_[server_url] = access_token;
|
fake_access_token_store.h | 26 void(const GURL& server_url, const string16& access_token)); 31 const string16& access_token);
|
network_location_provider.cc | 100 const string16& access_token) { 102 access_token_store, context, url, access_token); 110 const string16& access_token) 114 access_token_(access_token), 163 const string16& access_token, 172 // Record access_token if it's set. 173 if (!access_token.empty() && access_token_ != access_token) { 174 access_token_ = access_token; 175 access_token_store_->SaveAccessToken(request_->url(), access_token); [all...] |
/external/chromium_org/chrome/browser/extensions/api/identity/ |
gaia_web_auth_flow_unittest.cc | 63 void(const std::string& access_token, 120 flow->OnAuthFlowTitleChange(GetFinalTitle("access_token=fake_access_token")); 128 GetFinalTitle("access_token=fake_access_token&expires_in=3600")); 141 "access_token=fake_access_token&" 157 "access_token=fake_access_token&" 173 flow->OnAuthFlowTitleChange(GetFinalTitle("access_token=fake_access_token")); 212 "Loading id.client.fake://extension_id#access_token=fake_access_token"); 214 "Loading id.client.fake://extension_id/#access_token=fake_access_token"); 217 "id.client.fake://host/extension_id/#access_token=fake_access_token");
|
/external/chromium_org/chrome/browser/geolocation/ |
chrome_access_token_store.h | 28 const GURL& server_url, const string16& access_token) OVERRIDE;
|
/external/chromium_org/chrome/browser/google_apis/ |
dummy_auth_service.cc | 29 const std::string& DummyAuthService::access_token() const { function in class:google_apis::DummyAuthService
|
auth_service.cc | 41 const std::string& access_token, 69 // Callback for OAuth2AccessTokenFetcher on success. |access_token| is the token 72 const std::string& access_token, 80 callback_.Run(HTTP_SUCCESS, access_token); 168 const std::string& AuthService::access_token() const { function in class:google_apis::AuthService 186 const std::string& access_token) { 191 access_token_ = access_token; 204 callback.Run(error, access_token);
|
dummy_auth_service.h | 25 virtual const std::string& access_token() const OVERRIDE;
|
/external/chromium_org/chrome/browser/policy/cloud/ |
user_info_fetcher.h | 47 // Starts the UserInfo request, using the passed OAuth2 |access_token|. 48 void Start(const std::string& access_token);
|
cloud_policy_client_registration_helper.cc | 60 const std::string& access_token, 87 const std::string& access_token, 90 callback_.Run(access_token); 116 virtual void OnGetTokenSuccess(const std::string& access_token, 149 const std::string& access_token, 151 callback_.Run(access_token); 221 const std::string& access_token) { 224 if (access_token.empty()) { 232 oauth_access_token_ = access_token;
|
/external/chromium_org/chrome/browser/signin/ |
ubertoken_fetcher.cc | 47 const std::string& access_token, 53 gaia_auth_fetcher_->StartTokenFetchForUberAuthExchange(access_token);
|
oauth2_token_service_test_util.cc | 9 " \"access_token\": \"%s\","
|
/external/chromium_org/content/shell/geolocation/ |
shell_access_token_store.cc | 45 // we provide a dummy access_token set to avoid hitting the server. 52 const GURL& server_url, const string16& access_token) {
|
shell_access_token_store.h | 31 const GURL& server_url, const string16& access_token) OVERRIDE;
|
/external/chromium/chrome/browser/geolocation/ |
access_token_store.cc | 30 const GURL& server_url, const string16& access_token); 79 const GURL& server_url, const string16& access_token) { 81 &SetAccessTokenOnUIThread, server_url, access_token));
|
/external/chromium_org/chrome/browser/ui/webui/ |
identity_internals_ui.cc | 105 // Revokes |access_token| from extension with |extension_id|. 109 const std::string& access_token, 115 const std::string& access_token() const { return access_token_; } function in class:__anon8919::IdentityInternalsTokenRevoker 145 token_revoker->extension_id(), token_revoker->access_token()); 149 result.AppendString(token_revoker->access_token()); 243 std::string access_token; local 245 args->GetString(kRevokeTokenTokenOffset, &access_token); 247 extension_id, access_token, Profile::FromWebUI(web_ui()), this)); 252 const std::string& access_token, 258 access_token_(access_token), [all...] |