Searched refs:refresh_token (Results 1 - 25 of 72) sorted by relevance

123

/external/chromium_org/components/signin/core/browser/
H A Dmutable_profile_oauth2_token_service.cc63 const std::string& refresh_token)
67 fetcher_.StartRevokeOAuth2Token(refresh_token);
86 const std::string& refresh_token)
89 refresh_token_(refresh_token),
151 return iter->second->refresh_token();
160 std::string refresh_token = GetRefreshToken(account_id); local
161 DCHECK(!refresh_token.empty());
162 return new OAuth2AccessTokenFetcherImpl(consumer, getter, refresh_token);
234 std::string refresh_token = iter->second; local
236 if (IsLegacyRefreshTokenId(prefixed_account_id) && !refresh_token
61 RevokeServerRefreshToken( MutableProfileOAuth2TokenService* token_service, const std::string& refresh_token) argument
83 AccountInfo( ProfileOAuth2TokenService* token_service, const std::string& account_id, const std::string& refresh_token) argument
292 UpdateCredentials( const std::string& account_id, const std::string& refresh_token) argument
345 PersistCredentials( const std::string& account_id, const std::string& refresh_token) argument
351 refresh_token); local
379 RevokeCredentialsOnServer( const std::string& refresh_token) argument
[all...]
H A 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_; } function in class:MutableProfileOAuth2TokenService::AccountInfo
115 const std::string& refresh_token);
122 void RevokeCredentialsOnServer(const std::string& refresh_token);
127 // In memory refresh token store mapping account_id to refresh_token.
H A Dprofile_oauth2_token_service.cc58 const std::string& refresh_token) {
56 UpdateCredentials( const std::string& account_id, const std::string& refresh_token) argument
H A Dprofile_oauth2_token_service.h62 // Updates a |refresh_token| for an |account_id|. Credentials are persisted,
65 const std::string& refresh_token);
H A Dsignin_oauth_helper.cc27 refresh_token_ = result.refresh_token;
/external/chromium_org/remoting/host/setup/
H A Doauth_client.cc40 const std::string& refresh_token,
43 refresh_token_ = refresh_token;
56 const std::string& refresh_token) {
59 on_done.Run(user_email, refresh_token);
39 OnGetTokensResponse( const std::string& refresh_token, const std::string& access_token, int expires_in_seconds) argument
55 SendResponse(const std::string& user_email, const std::string& refresh_token) argument
H A Doauth_client.h27 // and |refresh_token| that correspond to the given |auth_code|, or with empty
31 const std::string& refresh_token)> CompletionCallback;
38 // Redeems |auth_code| using |oauth_client_info| to obtain |refresh_token| and
40 // Calls CompletionCallback with |user_email| and |refresh_token| when done,
50 virtual void OnGetTokensResponse(const std::string& refresh_token,
72 const std::string& refresh_token);
/external/chromium_org/google_apis/gaia/
H A Dgaia_auth_consumer.cc40 : refresh_token(new_refresh_token),
48 return refresh_token == b.refresh_token &&
H A Dgaia_oauth_client.h40 virtual void OnGetTokensResponse(const std::string& refresh_token, argument
89 const std::string& refresh_token,
H A Doauth2_access_token_fetcher_impl.h53 const std::string& refresh_token);
88 const std::string& refresh_token,
H A Doauth2_api_call_flow_unittest.cc77 const std::string& refresh_token)
78 : OAuth2AccessTokenFetcherImpl(consumer, getter, refresh_token) {}
90 const std::string& refresh_token,
93 : OAuth2ApiCallFlow(context, refresh_token, access_token, scopes) {}
139 void CreateFlow(const std::string& refresh_token, argument
146 request_context_getter.get(), refresh_token, access_token, scopes));
148 flow_.get(), request_context_getter.get(), refresh_token));
170 std::string rt = "refresh_token";
182 std::string rt = "refresh_token";
200 std::string rt = "refresh_token";
75 MockAccessTokenFetcher(OAuth2AccessTokenConsumer* consumer, net::URLRequestContextGetter* getter, const std::string& refresh_token) argument
89 MockApiCallFlow(net::URLRequestContextGetter* context, const std::string& refresh_token, const std::string& access_token, const std::vector<std::string>& scopes) argument
[all...]
H A Dgaia_oauth_client.cc23 const char kRefreshTokenValue[] = "refresh_token";
49 const std::string& refresh_token,
124 const std::string& refresh_token,
131 "refresh_token=" + net::EscapeUrlEncodedData(refresh_token, true) +
136 "&grant_type=refresh_token";
321 std::string refresh_token; local
324 response_dict->GetString(kRefreshTokenValue, &refresh_token);
335 delegate_->OnGetTokensResponse(refresh_token,
367 const std::string& refresh_token,
122 RefreshToken( const OAuthClientInfo& oauth_client_info, const std::string& refresh_token, const std::vector<std::string>& scopes, int max_retries, GaiaOAuthClient::Delegate* delegate) argument
365 RefreshToken( const OAuthClientInfo& oauth_client_info, const std::string& refresh_token, const std::vector<std::string>& scopes, int max_retries, Delegate* delegate) argument
[all...]
/external/chromium_org/cloud_print/gcp20/prototype/
H A Dprinter_state.cc19 const char kRefreshToken[] = "refresh_token";
50 json.SetString(kRefreshToken, state.refresh_token);
116 std::string refresh_token; local
117 if (!json->GetString(kRefreshToken, &refresh_token)) {
118 LOG(ERROR) << "Cannot parse |refresh_token|.";
166 state->refresh_token = refresh_token;
H A Dprinter_state.h50 std::string refresh_token; member in struct:PrinterState
H A 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/chrome/browser/extensions/api/push_messaging/
H A Dpush_messaging_canary_test.cc158 const std::string& refresh_token = sync_setup_helper()->refresh_token(); local
162 client_id.c_str(), client_secret.c_str(), refresh_token.c_str()));
H A Dsync_setup_helper.h41 const std::string& refresh_token() const { return refresh_token_; } function in class:extensions::SyncSetupHelper
H A Dobfuscated_gaia_id_fetcher.h45 const std::string& refresh_token);
/external/chromium_org/google_apis/drive/
H A Ddummy_auth_service.h24 const std::string& refresh_token() const { return refresh_token_; } function in class:google_apis::DummyAuthService
/external/chromium_org/remoting/host/
H A Doauth_token_getter.cc28 const std::string& refresh_token,
31 refresh_token(refresh_token),
176 client_info, oauth_credentials_->refresh_token, empty_scope_list,
26 OAuthCredentials( const std::string& login, const std::string& refresh_token, bool is_service_account) argument
H A Doauth_token_getter.h46 const std::string& refresh_token,
53 std::string refresh_token; member in struct:remoting::OAuthTokenGetter::OAuthCredentials
/external/chromium_org/chrome/browser/signin/
H A Dfake_signin_manager.cc50 const std::string& refresh_token,
57 oauth_fetched_callback.Run(refresh_token);
49 StartSignInWithRefreshToken( const std::string& refresh_token, const std::string& username, const std::string& password, const OAuthTokenFetchedCallback& oauth_fetched_callback) argument
H A Dfake_signin_manager.h58 const std::string& refresh_token,
/external/chromium_org/chrome/browser/ui/sync/
H A Done_click_signin_helper.h102 const std::string& refresh_token,
115 std::string refresh_token; member in struct:OneClickSigninHelper::StartSyncArgs
150 const std::string& refresh_token);
156 const std::string& refresh_token) OVERRIDE;
221 const std::string& refresh_token,
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dinline_login_handler_chromeos.cc46 token_service->UpdateCredentials(account_id_, oauth2_tokens.refresh_token);

Completed in 363 milliseconds

123