Home
last modified time | relevance | path

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

123

/external/chromium_org/components/signin/core/browser/
Dmutable_profile_oauth2_token_service.cc63 const std::string& refresh_token) in RevokeServerRefreshToken() argument
67 fetcher_.StartRevokeOAuth2Token(refresh_token); in RevokeServerRefreshToken()
86 const std::string& refresh_token) in AccountInfo() argument
89 refresh_token_(refresh_token), in AccountInfo()
151 return iter->second->refresh_token(); in GetRefreshToken()
160 std::string refresh_token = GetRefreshToken(account_id); in CreateAccessTokenFetcher() local
161 DCHECK(!refresh_token.empty()); in CreateAccessTokenFetcher()
162 return new OAuth2AccessTokenFetcherImpl(consumer, getter, refresh_token); in CreateAccessTokenFetcher()
234 std::string refresh_token = iter->second; in LoadAllCredentialsIntoMemory() local
236 if (IsLegacyRefreshTokenId(prefixed_account_id) && !refresh_token.empty()) in LoadAllCredentialsIntoMemory()
[all …]
Dmutable_profile_oauth2_token_service.h30 const std::string& refresh_token) OVERRIDE;
43 const std::string& refresh_token);
46 const std::string& refresh_token() const { return refresh_token_; } in refresh_token() function
115 const std::string& refresh_token);
122 void RevokeCredentialsOnServer(const std::string& refresh_token);
Dmutable_profile_oauth2_token_service_unittest.cc155 oauth2_service_.refresh_tokens()[main_account_id]->refresh_token()); in TEST_F()
185 oauth2_service_.refresh_tokens()[main_account_id]->refresh_token()); in TEST_F()
188 oauth2_service_.refresh_tokens()[other_account_id]->refresh_token()); in TEST_F()
247 oauth2_service_.refresh_tokens()["account_id"]->refresh_token().empty()); in TEST_F()
/external/chromium_org/remoting/host/setup/
Doauth_client.cc40 const std::string& refresh_token, in OnGetTokensResponse() argument
43 refresh_token_ = refresh_token; in OnGetTokensResponse()
56 const std::string& refresh_token) { in SendResponse() argument
59 on_done.Run(user_email, refresh_token); in SendResponse()
Doauth_client.h31 const std::string& refresh_token)> CompletionCallback;
50 virtual void OnGetTokensResponse(const std::string& refresh_token,
72 const std::string& refresh_token);
Dhost_starter.cc79 const std::string& refresh_token, in OnGetTokensResponse() argument
85 refresh_token, access_token, expires_in_seconds)); in OnGetTokensResponse()
88 refresh_token_ = refresh_token; in OnGetTokensResponse()
/external/chromium_org/google_apis/gaia/
Dgaia_auth_consumer.cc40 : refresh_token(new_refresh_token), in ClientOAuthResult()
48 return refresh_token == b.refresh_token && in operator ==()
Dgaia_oauth_client.cc49 const std::string& refresh_token,
124 const std::string& refresh_token, in RefreshToken() argument
131 "refresh_token=" + net::EscapeUrlEncodedData(refresh_token, true) + in RefreshToken()
321 std::string refresh_token; in HandleResponse() local
324 response_dict->GetString(kRefreshTokenValue, &refresh_token); in HandleResponse()
335 delegate_->OnGetTokensResponse(refresh_token, in HandleResponse()
367 const std::string& refresh_token, in RefreshToken() argument
372 refresh_token, in RefreshToken()
Doauth2_api_call_flow_unittest.cc77 const std::string& refresh_token) in MockAccessTokenFetcher() argument
78 : OAuth2AccessTokenFetcherImpl(consumer, getter, refresh_token) {} in MockAccessTokenFetcher()
90 const std::string& refresh_token, in MockApiCallFlow() argument
93 : OAuth2ApiCallFlow(context, refresh_token, access_token, scopes) {} in MockApiCallFlow()
139 void CreateFlow(const std::string& refresh_token, in CreateFlow() argument
146 request_context_getter.get(), refresh_token, access_token, scopes)); in CreateFlow()
148 flow_.get(), request_context_getter.get(), refresh_token)); in CreateFlow()
Doauth2_access_token_fetcher_impl.cc135 const std::string& refresh_token) in OAuth2AccessTokenFetcherImpl() argument
138 refresh_token_(refresh_token), in OAuth2AccessTokenFetcherImpl()
275 const std::string& refresh_token, in MakeGetAccessTokenBody() argument
281 net::EscapeUrlEncodedData(refresh_token, true); in MakeGetAccessTokenBody()
Dgaia_oauth_client.h40 virtual void OnGetTokensResponse(const std::string& refresh_token, in OnGetTokensResponse() argument
89 const std::string& refresh_token,
Doauth2_access_token_fetcher_impl.h53 const std::string& refresh_token);
88 const std::string& refresh_token,
Dfake_gaia.cc152 params.refresh_token = kTestRefreshToken; in SetFakeMergeSessionParams()
483 merge_session_params_.refresh_token); in HandleAuthToken()
491 std::string refresh_token; in HandleAuthToken() local
493 if (GetQueryParameter(request.content, "refresh_token", &refresh_token) && in HandleAuthToken()
496 FindAccessTokenInfo(refresh_token, client_id, scope); in HandleAuthToken()
507 << "refresh_token = " << refresh_token in HandleAuthToken()
Doauth2_api_call_flow.cc38 const std::string& refresh_token, in OAuth2ApiCallFlow() argument
42 refresh_token_(refresh_token), in OAuth2ApiCallFlow()
/external/chromium_org/cloud_print/gcp20/prototype/
Dprinter_state.cc50 json.SetString(kRefreshToken, state.refresh_token); in SaveToFile()
116 std::string refresh_token; in LoadFromFile() local
117 if (!json->GetString(kRefreshToken, &refresh_token)) { in LoadFromFile()
166 state->refresh_token = refresh_token; in LoadFromFile()
Dcloud_print_requester.h46 const std::string& refresh_token,
118 void UpdateAccesstoken(const std::string& refresh_token);
144 virtual void OnGetTokensResponse(const std::string& refresh_token,
/external/chromium_org/remoting/host/
Doauth_token_getter.cc28 const std::string& refresh_token, in OAuthCredentials() argument
31 refresh_token(refresh_token), in OAuthCredentials()
176 client_info, oauth_credentials_->refresh_token, empty_scope_list, in RefreshOAuthToken()
Doauth_token_getter.h46 const std::string& refresh_token,
53 std::string refresh_token; member
/external/chromium_org/chrome/browser/ui/sync/
Done_click_signin_helper.h102 const std::string& refresh_token,
115 std::string refresh_token; member
150 const std::string& refresh_token);
156 const std::string& refresh_token) OVERRIDE;
221 const std::string& refresh_token,
Done_click_signin_helper.cc506 const std::string& refresh_token, in StartSyncArgs() argument
517 refresh_token(refresh_token), in StartSyncArgs()
521 DCHECK(session_index.empty() != refresh_token.empty()); in StartSyncArgs()
553 if (args_.refresh_token.empty()) { in Start()
561 args_.refresh_token); in Start()
569 const std::string& refresh_token) { in OnSigninOAuthInformationAvailable() argument
575 StartOneClickSigninSyncStarter(email, refresh_token); in OnSigninOAuthInformationAvailable()
656 const std::string& refresh_token) { in StartOneClickSigninSyncStarter() argument
660 refresh_token, start_mode_, in StartOneClickSigninSyncStarter()
1138 const std::string& refresh_token, in HandleCrossAccountError() argument
[all …]
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
Dpush_messaging_canary_test.cc158 const std::string& refresh_token = sync_setup_helper()->refresh_token(); in IN_PROC_BROWSER_TEST_F() local
162 client_id.c_str(), client_secret.c_str(), refresh_token.c_str())); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/settings/
Ddevice_oauth2_token_service.cc71 const std::string& refresh_token, in SetAndSaveRefreshToken() argument
76 refresh_token_ = refresh_token; in SetAndSaveRefreshToken()
209 std::string refresh_token = GetRefreshToken(account_id); in CreateAccessTokenFetcher() local
210 DCHECK(!refresh_token.empty()); in CreateAccessTokenFetcher()
211 return new OAuth2AccessTokenFetcherImpl(consumer, getter, refresh_token); in CreateAccessTokenFetcher()
/external/chromium_org/chrome/browser/signin/
Dfake_signin_manager.cc50 const std::string& refresh_token, in StartSignInWithRefreshToken() argument
57 oauth_fetched_callback.Run(refresh_token); in StartSignInWithRefreshToken()
/external/chromium_org/chrome/browser/ui/webui/signin/
Dinline_login_handler_impl.cc65 const std::string& refresh_token) OVERRIDE;
110 const std::string& refresh_token) { in OnSigninOAuthInformationAvailable() argument
135 UpdateCredentials(email, refresh_token); in OnSigninOAuthInformationAvailable()
187 email, password_, refresh_token, in OnSigninOAuthInformationAvailable()
197 email, password_, refresh_token, in OnSigninOAuthInformationAvailable()
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_refresh_token_fetcher.cc82 virtual void OnGetTokensResponse(const std::string& refresh_token,
244 const std::string& refresh_token, in OnGetTokensResponse() argument
250 refresh_token); in OnGetTokensResponse()

123