Searched refs:access_token (Results 1 - 25 of 187) sorted by relevance

12345678

/external/chromium_org/google_apis/gaia/
H A Doauth2_access_token_fetcher.cc14 const std::string& access_token,
16 consumer_->OnGetTokenSuccess(access_token, expiration_time);
13 FireOnGetTokenSuccess( const std::string& access_token, const base::Time& expiration_time) argument
H A Doauth2_access_token_consumer.h20 // Success callback. |access_token| will contain a valid OAuth2 access token.
23 virtual void OnGetTokenSuccess(const std::string& access_token, argument
H A Dgaia_auth_consumer.cc41 access_token(new_access_token),
49 access_token == b.access_token &&
H A Doauth2_mint_token_flow.h86 std::string access_token; member in struct:OAuth2MintTokenFlow::Parameters
95 virtual void OnMintTokenSuccess(const std::string& access_token, argument
118 virtual void ProcessNewAccessToken(const std::string& access_token) OVERRIDE;
132 void ReportSuccess(const std::string& access_token, int time_to_live);
139 const base::DictionaryValue* dict, std::string* access_token,
H A Doauth2_mint_token_flow.cc106 : access_token(at),
120 parameters.access_token,
128 void OAuth2MintTokenFlow::ReportSuccess(const std::string& access_token, argument
131 delegate_->OnMintTokenSuccess(access_token, time_to_live);
202 std::string access_token; local
204 if (ParseMintTokenResponse(dict, &access_token, &time_to_live))
205 ReportSuccess(access_token, time_to_live);
220 const std::string& access_token) {
232 const base::DictionaryValue* dict, std::string* access_token,
235 CHECK(access_token);
219 ProcessNewAccessToken( const std::string& access_token) argument
231 ParseMintTokenResponse( const base::DictionaryValue* dict, std::string* access_token, int* time_to_live) argument
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dappengine_url_fetcher.py19 def _MakeHeaders(username, password, access_token):
27 if access_token is not None:
28 headers['Authorization'] = 'OAuth %s' % access_token
41 def Fetch(self, url, username=None, password=None, access_token=None):
48 access_token))
50 def FetchAsync(self, url, username=None, password=None, access_token=None):
62 return self.FetchAsync(url, username, password, access_token).Get()
70 access_token))
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dwildcard_login_checker.h45 void StartWithAccessToken(const std::string& access_token,
56 void OnPolicyTokenFetched(const std::string& access_token,
60 void StartUserInfoFetcher(const std::string& access_token);
H A Dwildcard_login_checker.cc55 const std::string& access_token,
61 StartUserInfoFetcher(access_token);
85 const std::string& access_token,
100 StartUserInfoFetcher(access_token);
104 const std::string& access_token) {
107 user_info_fetcher_->Start(access_token);
54 StartWithAccessToken( const std::string& access_token, const StatusCallback& callback) argument
84 OnPolicyTokenFetched( const std::string& access_token, const GoogleServiceAuthError& error) argument
103 StartUserInfoFetcher( const std::string& access_token) argument
/external/chromium_org/chromecast/shell/browser/geolocation/
H A Dcast_access_token_store.cc44 const GURL& server_url, const base::string16& access_token) {
45 if (access_token_set_[server_url] != access_token) {
46 access_token_set_[server_url] = access_token;
43 SaveAccessToken( const GURL& server_url, const base::string16& access_token) argument
/external/chromium_org/content/browser/geolocation/
H A Dfake_access_token_store.h27 const base::string16& access_token));
32 const base::string16& access_token);
H A Dfake_access_token_store.cc48 const GURL& server_url, const base::string16& access_token) {
50 access_token_set_[server_url] = access_token;
47 DefaultSaveAccessToken( const GURL& server_url, const base::string16& access_token) argument
H A Dnetwork_location_request.cc75 const base::string16& access_token,
86 base::string16* access_token);
94 base::string16* access_token);
112 bool NetworkLocationRequest::MakeRequest(const base::string16& access_token, argument
130 FormUploadData(wifi_data, timestamp, access_token, &upload_data);
151 base::string16 access_token; local
160 &access_token);
179 position, server_error, access_token, wifi_data_);
210 const base::string16& access_token,
222 if (!access_token
208 FormUploadData(const WifiData& wifi_data, const base::Time& timestamp, const base::string16& access_token, std::string* upload_data) argument
288 GetLocationFromResponse(bool http_post_result, int status_code, const std::string& response_body, const base::Time& timestamp, const GURL& server_url, Geoposition* position, base::string16* access_token) argument
351 ParseServerResponse(const std::string& response_body, const base::Time& timestamp, Geoposition* position, base::string16* access_token) argument
[all...]
/external/chromium_org/google_apis/drive/
H A Dauth_service_interface.h19 const std::string& access_token)>
47 virtual const std::string& access_token() const = 0;
H A Ddummy_auth_service.cc31 const std::string& DummyAuthService::access_token() const { function in class:google_apis::DummyAuthService
H A Dauth_service.cc49 const std::string& access_token,
80 // Callback for OAuth2AccessTokenFetcher on success. |access_token| is the token
83 const std::string& access_token,
88 callback_.Run(HTTP_SUCCESS, access_token);
171 const std::string& AuthService::access_token() const { function in class:google_apis::AuthService
185 const std::string& access_token) {
190 access_token_ = access_token;
202 callback.Run(error, access_token);
82 OnGetTokenSuccess(const OAuth2TokenService::Request* request, const std::string& access_token, const base::Time& expiration_time) argument
183 OnAuthCompleted(const AuthStatusCallback& callback, GDataErrorCode error, const std::string& access_token) argument
/external/chromium_org/chrome/browser/geolocation/
H A Dchrome_access_token_store.h28 const GURL& server_url, const base::string16& access_token) OVERRIDE;
/external/chromium_org/chrome/browser/signin/
H A Deasy_unlock_toggle_flow.cc56 const std::string& access_token,
67 virtual void ProcessNewAccessToken(const std::string& access_token) OVERRIDE;
82 const std::string& access_token,
87 access_token,
125 const std::string& access_token) {
161 const std::string& access_token,
170 access_token,
189 void EasyUnlockToggleFlow::OnMintTokenSuccess(const std::string& access_token, argument
193 access_token,
79 ToggleApiCall( EasyUnlockToggleFlow* flow, net::URLRequestContextGetter* context, const std::string& access_token, const std::string& phone_public_key, bool toggle_enable) argument
124 ProcessNewAccessToken( const std::string& access_token) argument
159 OnGetTokenSuccess( const OAuth2TokenService::Request* request, const std::string& access_token, const base::Time& expiration_time) argument
H A Dfake_profile_oauth2_token_service.h35 // IssueTokenForScope(scopes, "access_token", base::Time()::Max());
94 const std::string& access_token,
102 const std::string& access_token,
108 void IssueTokenForAllPendingRequests(const std::string& access_token,
134 const std::string& access_token) OVERRIDE;
148 const std::string& access_token,
/external/chromium_org/google_apis/gcm/engine/
H A Daccount_mapping.h34 // |access_token|.
36 // Parses account mapping from store, without |account_id| or |access_token|.
45 std::string access_token; member in struct:gcm::AccountMapping
H A Daccount_mapping_unittest.cc19 account_mapping.access_token = "access_token";
46 account_mapping.access_token = "access_token"; // should be ignored.
61 EXPECT_TRUE(account_mapping.access_token.empty());
70 EXPECT_TRUE(account_mapping.access_token.empty());
80 EXPECT_TRUE(account_mapping.access_token.empty());
90 EXPECT_TRUE(account_mapping.access_token.empty());
100 EXPECT_TRUE(account_mapping.access_token.empty());
/external/chromium_org/remoting/host/
H A Doauth_token_getter.h30 // Success, credentials in user_email/access_token.
40 const std::string& access_token)> TokenCallback;
70 const std::string& access_token,
72 virtual void OnRefreshTokenResponse(const std::string& access_token,
81 const std::string& access_token);
H A Doauth_token_getter.cc52 const std::string& access_token,
58 const std::string& access_token,
64 oauth_access_token_ = access_token;
77 gaia_oauth_client_->GetUserEmail(access_token, kMaxRetries, this);
107 const std::string& access_token) {
112 callbacks.front().Run(status, user_email, access_token);
51 OnGetTokensResponse(const std::string& user_email, const std::string& access_token, int expires_seconds) argument
57 OnRefreshTokenResponse( const std::string& access_token, int expires_seconds) argument
105 NotifyCallbacks(Status status, const std::string& user_email, const std::string& access_token) argument
/external/chromium_org/remoting/host/setup/
H A Doauth_client.cc41 const std::string& access_token,
45 gaia_oauth_client_.GetUserEmail(access_token, kMaxGaiaRetries, this);
49 const std::string& access_token,
39 OnGetTokensResponse( const std::string& refresh_token, const std::string& access_token, int expires_in_seconds) argument
48 OnRefreshTokenResponse( const std::string& access_token, int expires_in_seconds) argument
/external/chromium_org/components/policy/core/common/cloud/
H A Dcloud_policy_client_registration_helper.cc48 const std::string& access_token,
80 const std::string& access_token,
83 callback_.Run(access_token);
110 virtual void OnGetTokenSuccess(const std::string& access_token,
140 const std::string& access_token,
142 callback_.Run(access_token);
206 const std::string& access_token,
211 OnTokenFetched(access_token);
225 const std::string& access_token) {
231 if (access_token
78 OnGetTokenSuccess( const OAuth2TokenService::Request* request, const std::string& access_token, const base::Time& expiration_time) argument
139 OnGetTokenSuccess( const std::string& access_token, const base::Time& expiration_time) argument
205 StartRegistrationWithAccessToken( const std::string& access_token, const base::Closure& callback) argument
224 OnTokenFetched( const std::string& access_token) argument
[all...]
/external/chromium_org/chrome/browser/ui/webui/
H A Didentity_internals_ui.cc106 // Revokes |access_token| from extension with |extension_id|.
110 const std::string& access_token,
116 const std::string& access_token() const { return access_token_; } function in class:__anon5488::IdentityInternalsTokenRevoker
147 token_revoker->access_token());
151 result.AppendString(token_revoker->access_token());
247 std::string access_token; local
249 args->GetString(kRevokeTokenTokenOffset, &access_token);
251 extension_id, access_token, Profile::FromWebUI(web_ui()), this));
256 const std::string& access_token,
262 access_token_(access_token),
254 IdentityInternalsTokenRevoker( const std::string& extension_id, const std::string& access_token, Profile* profile, IdentityInternalsUIMessageHandler* consumer) argument
[all...]

Completed in 348 milliseconds

12345678