/external/chromium_org/remoting/host/setup/ |
H A D | oauth_client.cc | 25 const std::string& auth_code, 29 pending_requests_.push(Request(oauth_client_info, auth_code, on_done)); 35 gaia_oauth_client_.GetTokensFromAuthCode(oauth_client_info, auth_code, 67 request.oauth_client_info, request.auth_code, request.on_done); 85 const std::string& auth_code, 88 this->auth_code = auth_code; 23 GetCredentialsFromAuthCode( const gaia::OAuthClientInfo& oauth_client_info, const std::string& auth_code, CompletionCallback on_done) argument 83 Request( const gaia::OAuthClientInfo& oauth_client_info, const std::string& auth_code, CompletionCallback on_done) argument
|
H A D | oauth_client.h | 27 // and |refresh_token| that correspond to the given |auth_code|, or with empty 38 // Redeems |auth_code| using |oauth_client_info| to obtain |refresh_token| and 46 const std::string& auth_code, 63 const std::string& auth_code, 67 std::string auth_code; member in struct:remoting::OAuthClient::Request
|
H A D | start_host.cc | 109 std::string auth_code = command_line->GetSwitchValueASCII("code"); local 149 if (auth_code.empty()) { 152 auth_code = ReadString(true); 181 host_starter->StartHost(host_name, host_pin, true, auth_code, redirect_url,
|
H A D | host_starter.h | 45 // |auth_code| must be a valid OAuth2 authorization code, typically acquired 50 const std::string& auth_code,
|
H A D | host_starter.cc | 58 const std::string& auth_code, 74 oauth_client_->GetTokensFromAuthCode(oauth_client_info_, auth_code, 54 StartHost( const std::string& host_name, const std::string& host_pin, bool consent_to_data_collection, const std::string& auth_code, const std::string& redirect_url, CompletionCallback on_done) argument
|
/external/chromium_org/remoting/host/setup/win/ |
H A D | auth_code_getter.cc | 60 std::string auth_code; local 61 if (TestBrowserUrl(&auth_code)) { 62 on_auth_code_.Run(auth_code); 68 bool AuthCodeGetter::TestBrowserUrl(std::string* auth_code) { argument 69 *auth_code = ""; 79 *auth_code = GetOauthCodeInUrl(base::WideToUTF8(static_cast<BSTR>(url)), 81 if (!auth_code->empty()) {
|
H A D | auth_code_getter.h | 37 // |auth_code| is an authorization code, or the empty string on an error. 38 bool TestBrowserUrl(std::string* auth_code);
|
/external/chromium_org/third_party/skia/platform_tools/android/bin/ |
H A D | http_download.py | 47 auth_code = base64.b64encode(username + ':' + password) 49 auth_code = base64.b64encode(username) 50 headers.append(('Authorization', 'Basic ' + auth_code))
|
/external/skia/platform_tools/android/bin/ |
H A D | http_download.py | 47 auth_code = base64.b64encode(username + ':' + password) 49 auth_code = base64.b64encode(username) 50 headers.append(('Authorization', 'Basic ' + auth_code))
|
/external/chromium_org/chrome/browser/chromeos/login/signin/ |
H A D | oauth2_token_fetcher.cc | 71 const std::string& auth_code) { 73 auth_code_ = auth_code; 86 auth_code), 90 auth_fetcher_.StartAuthCodeForOAuth2TokenExchange(auth_code); 70 StartExchangeFromAuthCode( const std::string& auth_code) argument
|
H A D | oauth2_token_fetcher.h | 43 void StartExchangeFromAuthCode(const std::string& auth_code);
|
H A D | oauth2_login_manager.h | 90 // parameters |oauth2_refresh_token| or |auth_code| need to have non-empty 96 const std::string& auth_code);
|
/external/chromium_org/chrome/service/cloud_print/ |
H A D | cloud_print_auth.cc | 174 std::string auth_code; local 175 if (!json_data->GetString(kOAuthCodeValue, &auth_code)) { 193 auth_code,
|
/external/chromium_org/chromeos/login/auth/ |
H A D | user_context.h | 58 void SetAuthCode(const std::string& auth_code);
|
H A D | user_context.cc | 118 void UserContext::SetAuthCode(const std::string& auth_code) { argument 119 auth_code_ = auth_code;
|
/external/chromium_org/google_apis/gaia/ |
H A D | gaia_auth_fetcher.h | 136 void StartAuthCodeForOAuth2TokenExchange(const std::string& auth_code); 328 std::string* auth_code); 331 std::string* auth_code); 353 static std::string MakeGetTokenPairBody(const std::string& auth_code);
|
H A D | gaia_oauth_client.h | 79 const std::string& auth_code,
|
H A D | gaia_auth_fetcher.cc | 324 const std::string& auth_code) { 331 std::string encoded_auth_code = net::EscapeUrlEncodedData(auth_code, true); 449 std::string* auth_code) { 450 DCHECK(auth_code); 453 if (ParseClientLoginToOAuth2Cookie(*iter, auth_code)) 461 std::string* auth_code) { 475 auth_code->assign(part.substr( 605 const std::string& auth_code) { 609 request_body_ = MakeGetTokenPairBody(auth_code); 805 std::string auth_code; local 323 MakeGetTokenPairBody( const std::string& auth_code) argument 447 ParseClientLoginToOAuth2Response( const net::ResponseCookies& cookies, std::string* auth_code) argument 460 ParseClientLoginToOAuth2Cookie(const std::string& cookie, std::string* auth_code) argument 604 StartAuthCodeForOAuth2TokenExchange( const std::string& auth_code) argument [all...] |
H A D | gaia_auth_fetcher_unittest.cc | 722 std::string auth_code; local 725 cookies, &auth_code)); 726 EXPECT_EQ("", auth_code); 729 std::string auth_code; local 735 cookies, &auth_code)); 736 EXPECT_EQ("", auth_code); 739 std::string auth_code; local 746 cookies, &auth_code)); 747 EXPECT_EQ("test-code", auth_code); 750 std::string auth_code; local [all...] |
H A D | gaia_oauth_client.cc | 45 const std::string& auth_code, 104 const std::string& auth_code, 110 "code=" + net::EscapeUrlEncodedData(auth_code, true) + 356 const std::string& auth_code, 360 auth_code, 102 GetTokensFromAuthCode( const OAuthClientInfo& oauth_client_info, const std::string& auth_code, int max_retries, GaiaOAuthClient::Delegate* delegate) argument 354 GetTokensFromAuthCode( const OAuthClientInfo& oauth_client_info, const std::string& auth_code, int max_retries, Delegate* delegate) argument
|
H A D | fake_gaia.cc | 151 params.auth_code = kTestAuthCode; 290 if (merge_session_params_.auth_code.empty()) { 326 merge_session_params_.auth_code.c_str())); 467 std::string auth_code; local 468 if (!GetQueryParameter(request.content, "code", &auth_code) || 469 auth_code != merge_session_params_.auth_code) {
|
/external/chromium_org/chrome/browser/supervised_user/ |
H A D | supervised_user_refresh_token_fetcher.cc | 228 std::string auth_code; local 229 if (!dict->GetString(kCodeKey, &auth_code)) { 239 gaia_oauth_client_->GetTokensFromAuthCode(client_info, auth_code, kNumRetries,
|
H A D | supervised_user_refresh_token_fetcher_unittest.cc | 188 std::string auth_code; local 189 EXPECT_TRUE(GetValueForKey(url_fetcher->upload_data(), "code", &auth_code)); 190 EXPECT_EQ(kAuthorizationCode, auth_code);
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
H A D | gaia_screen_handler.h | 96 const std::string& auth_code);
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | user_cloud_policy_manager_chromeos_browsertest.cc | 97 params.auth_code = kTestAuthCode;
|