Home
last modified time | relevance | path

Searched refs:access_token_ (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/google_apis/drive/
Ddummy_auth_service.cc24 return !access_token_.empty(); in HasAccessToken()
32 return access_token_; in access_token()
36 access_token_.clear(); in ClearAccessToken()
Dauth_service.cc147 FROM_HERE, base::Bind(callback, HTTP_SUCCESS, access_token_)); in StartAuthentication()
164 return !access_token_.empty(); in HasAccessToken()
172 return access_token_; in access_token()
176 access_token_.clear(); in ClearAccessToken()
190 access_token_ = access_token; in OnAuthCompleted()
224 access_token_.clear(); in OnHandleRefreshToken()
Ddummy_auth_service.h22 void set_access_token(const std::string& token) { access_token_ = token; } in set_access_token()
37 std::string access_token_;
Dauth_service.h70 std::string access_token_; variable
/external/chromium_org/google_apis/gaia/
Doauth2_api_call_flow.cc43 access_token_(access_token), in OAuth2ApiCallFlow()
59 if (access_token_.empty()) { in BeginApiCall()
145 access_token_ = access_token; in OnGetTokenSuccess()
166 result->AddExtraRequestHeader(MakeAuthorizationHeader(access_token_)); in CreateURLFetcher()
Dubertoken_fetcher.cc70 token_service_->InvalidateToken(account_id_, scopes, access_token_); in OnUberAuthTokenFailure()
88 access_token_ = access_token; in OnGetTokenSuccess()
115 gaia_auth_fetcher_->StartTokenFetchForUberAuthExchange(access_token_); in ExchangeTokens()
Doauth2_token_service_request.cc288 std::string access_token_; member in __anond7ccf37a0111::InvalidateCore
303 access_token_(access_token), in InvalidateCore()
306 DCHECK(!access_token_.empty()); in InvalidateCore()
316 token_service()->InvalidateToken(account_id_, scopes_, access_token_); in StartOnTokenServiceThread()
Dubertoken_fetcher.h78 std::string access_token_; variable
Doauth2_api_call_flow.h116 std::string access_token_; variable
/external/chromium_org/components/invalidation/
Dticl_invalidation_service.cc196 token_service->InvalidateToken(account_id, oauth2_scopes, access_token_); in RequestAccessToken()
197 access_token_.clear(); in RequestAccessToken()
210 access_token_ = access_token; in OnGetTokenSuccess()
256 access_token_.clear(); in OnRefreshTokenRevoked()
348 if (network_channel == PUSH_CLIENT_CHANNEL && access_token_.empty()) { in StartInvalidator()
426 invalidator_->UpdateCredentials(email, access_token_); in UpdateInvalidatorCredentials()
Dgcm_network_channel.cc207 access_token_ = token; in OnGetTokenComplete()
213 const std::string auth_header("Authorization: Bearer " + access_token_); in OnGetTokenComplete()
238 delegate_->InvalidateToken(access_token_); in OnURLFetchComplete()
/external/chromium_org/content/browser/geolocation/
Dnetwork_location_provider.cc116 access_token_(access_token), in NetworkLocationProvider()
176 if (!access_token.empty() && access_token_ != access_token) { in OnLocationResponse()
177 access_token_ = access_token; in OnLocationResponse()
268 request_->MakeRequest(access_token_, wifi_data_, in RequestPosition()
Dnetwork_location_provider.h114 base::string16 access_token_; variable
/external/chromium_org/remoting/host/setup/
Dhost_starter.cc89 access_token_ = access_token; in OnGetTokensResponse()
91 oauth_client_->GetUserEmail(access_token_, 1, this); in OnGetTokensResponse()
123 access_token_, this); in OnGetUserEmailResponse()
185 service_client_->UnregisterHost(host_id_, access_token_, this); in OnHostStarted()
/external/chromium_org/chrome/browser/chromeos/login/signin/
Doauth2_login_verifier.cc58 access_token_(oauthlogin_access_token), in OAuth2LoginVerifier()
92 if (access_token_.empty()) { in VerifyProfileTokensImpl()
122 gaia_fetcher_->StartTokenFetchForUberAuthExchange(access_token_); in StartOAuthLoginForUberToken()
204 access_token_ = access_token; in OnGetTokenSuccess()
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_policy_manager_chromeos.cc148 access_token_ = access_token; in OnAccessTokenAvailable()
170 DCHECK(access_token_.empty()); in EnableWildcardLoginCheck()
218 } else if (!access_token_.empty()) { in OnInitializationCompleted()
219 OnAccessTokenAvailable(access_token_); in OnInitializationCompleted()
/external/chromium_org/sync/internal_api/attachments/
Dattachment_uploader_impl.cc95 std::string access_token_; member in syncer::AttachmentUploaderImpl::UploadState
167 token_service_provider_, account_id_, scopes_, access_token_); in OnURLFetchComplete()
190 access_token_ = access_token; in OnGetTokenSuccess()
202 const std::string auth_header("Authorization: Bearer " + access_token_); in OnGetTokenSuccess()
/external/chromium_org/chrome/browser/history/
Dweb_history_service.cc116 access_token_); in OnURLFetchComplete()
118 access_token_.clear(); in OnURLFetchComplete()
137 access_token_ = access_token; in OnGetTokenSuccess()
193 std::string access_token_; member in history::__anon7cea26560111::RequestImpl
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_refresh_token_fetcher.cc108 std::string access_token_; member in __anon99553de30111::SupervisedUserRefreshTokenFetcherImpl
152 access_token_ = access_token; in OnGetTokenSuccess()
206 access_token_); in OnURLFetchComplete()
/external/chromium_org/chrome/browser/ui/webui/
Didentity_internals_ui.cc116 const std::string& access_token() const { return access_token_; } in access_token()
130 const std::string access_token_; member in __anonf77dbf640111::IdentityInternalsTokenRevoker
262 access_token_(access_token), in IdentityInternalsTokenRevoker()
/external/chromium_org/cloud_print/gcp20/prototype/
Dcloud_print_xmpp_listener.cc62 access_token_ = access_token; in Connect()
81 push_client_->UpdateCredentials(robot_email_, access_token_); in Connect()
Dcloud_print_xmpp_listener.h99 std::string access_token_; variable
/external/chromium_org/chrome/browser/ui/app_list/search/people/
Dpeople_provider.cc105 access_token_ = access_token; in OnGetTokenSuccess()
133 access_token_); in GetQueryUrl()
Dpeople_provider.h80 std::string access_token_; variable
/external/chromium_org/chrome/browser/extensions/updater/
Dextension_downloader.cc767 if (access_token_.empty()) { in CreateExtensionFetcher()
784 access_token_.c_str())); in CreateExtensionFetcher()
902 access_token_); in IterateFetchCredentialsAfterFailure()
903 access_token_.clear(); in IterateFetchCredentialsAfterFailure()
909 if (access_token_.empty() || in IterateFetchCredentialsAfterFailure()
934 access_token_ = access_token; in OnGetTokenSuccess()
938 access_token_.c_str())); in OnGetTokenSuccess()

12