/external/chromium_org/remoting/host/setup/win/ |
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) { 69 *auth_code = ""; 79 *auth_code = GetOauthCodeInUrl(WideToUTF8(static_cast<BSTR>(url)), 81 if (!auth_code->empty()) {
|
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/remoting/host/setup/ |
oauth_client.cc | 23 const std::string& auth_code, 27 pending_requests_.push(Request(oauth_client_info, auth_code, on_done)); 33 gaia_oauth_client_.GetTokensFromAuthCode(oauth_client_info, auth_code, 65 request.oauth_client_info, request.auth_code, request.on_done); 83 const std::string& auth_code, 86 this->auth_code = auth_code;
|
oauth_client.h | 22 // and |refresh_token| that correspond to the given |auth_code|, or with empty 33 // Redeems |auth_code| using |oauth_client_info| to obtain |refresh_token| and 41 const std::string& auth_code, 58 const std::string& auth_code, 62 std::string auth_code; member in struct:remoting::OAuthClient::Request
|
start_host.cc | 94 std::string auth_code = command_line->GetSwitchValueASCII("code"); local 134 if (auth_code.empty()) { 137 auth_code = ReadString(true); 163 host_starter->StartHost(host_name, host_pin, true, auth_code, redirect_url,
|
host_starter.h | 41 // |auth_code| must be a valid OAuth2 authorization code, typically acquired 46 const std::string& auth_code,
|
host_starter.cc | 56 const std::string& auth_code, 72 oauth_client_->GetTokensFromAuthCode(oauth_client_info_, auth_code,
|
/external/chromium_org/chrome/browser/chromeos/login/ |
user.cc | 116 const std::string& auth_code) 119 auth_code(auth_code), 125 const std::string& auth_code, 129 auth_code(auth_code), 136 const std::string& auth_code, 141 auth_code(auth_code), 152 context.auth_code == auth_code & [all...] |
oauth2_token_fetcher.cc | 64 const std::string& auth_code) { 66 auth_code_ = auth_code; 79 auth_code), 83 auth_fetcher_.StartAuthCodeForOAuth2TokenExchange(auth_code);
|
oauth2_token_fetcher.h | 42 void StartExchangeFromAuthCode(const std::string& auth_code);
|
user.h | 23 // |username|, |password|, |auth_code| and |username_hash| which is returned 30 const std::string& auth_code); 33 const std::string& auth_code, 37 const std::string& auth_code, 44 std::string auth_code; member in struct:chromeos::UserContext
|
online_attempt_host.cc | 39 user_context.auth_code),
|
oauth2_login_manager.h | 90 // parameters |oauth2_refresh_token| or |auth_code| need to have non-empty 96 const std::string& auth_code);
|
oauth2_login_manager.cc | 64 const std::string& auth_code) { 69 auth_code_ = auth_code;
|
/external/chromium/chrome/common/net/gaia/ |
gaia_oauth_client.cc | 38 const std::string& auth_code, 75 const std::string& auth_code, 79 "code=" + EscapeUrlEncodedData(auth_code) + 199 const std::string& auth_code, 203 auth_code,
|
gaia_oauth_client_unittest.cc | 164 auth.GetTokensFromAuthCode(client_info, "auth_code", 2, &delegate); 188 auth.GetTokensFromAuthCode(client_info, "auth_code", -1, &delegate); 211 auth.GetTokensFromAuthCode(client_info, "auth_code", -1, &delegate); 232 auth.GetTokensFromAuthCode(client_info, "auth_code", -1, &delegate); 252 auth.GetTokensFromAuthCode(client_info, "auth_code", -1, &delegate);
|
gaia_oauth_client.h | 58 const std::string& auth_code,
|
/external/chromium_org/google_apis/gaia/ |
gaia_oauth_client_unittest.cc | 226 auth.GetTokensFromAuthCode(client_info_, "auth_code", 2, &delegate); 242 auth.GetTokensFromAuthCode(client_info_, "auth_code", -1, &delegate); 257 auth.GetTokensFromAuthCode(client_info_, "auth_code", -1, &delegate); 270 auth.GetTokensFromAuthCode(client_info_, "auth_code", -1, &delegate);
|
gaia_auth_fetcher_unittest.cc | 734 std::string auth_code; local 737 cookies, &auth_code)); 738 EXPECT_EQ("", auth_code); 741 std::string auth_code; local 747 cookies, &auth_code)); 748 EXPECT_EQ("", auth_code); 751 std::string auth_code; local 758 cookies, &auth_code)); 759 EXPECT_EQ("test-code", auth_code); 762 std::string auth_code; local [all...] |
gaia_oauth_client.cc | 45 const std::string& auth_code, 99 const std::string& auth_code, 105 "code=" + net::EscapeUrlEncodedData(auth_code, true) + 338 const std::string& auth_code, 342 auth_code,
|
gaia_auth_fetcher.cc | 313 const std::string& auth_code) { 320 std::string encoded_auth_code = net::EscapeUrlEncodedData(auth_code, true); 430 std::string* auth_code) { 431 DCHECK(auth_code); 434 if (ParseClientLoginToOAuth2Cookie(*iter, auth_code)) 442 std::string* auth_code) { 456 auth_code->assign(part.substr( 573 const std::string& auth_code) { 577 request_body_ = MakeGetTokenPairBody(auth_code); 818 std::string auth_code; local [all...] |
gaia_auth_fetcher.h | 123 void StartAuthCodeForOAuth2TokenExchange(const std::string& auth_code); 294 std::string* auth_code); 297 std::string* auth_code); 319 static std::string MakeGetTokenPairBody(const std::string& auth_code);
|
/external/chromium_org/chrome/service/cloud_print/ |
cloud_print_auth.cc | 174 std::string auth_code; local 175 if (!json_data->GetString(kOAuthCodeValue, &auth_code)) { 193 auth_code,
|
/external/chromium_org/chrome/browser/managed_mode/ |
managed_user_refresh_token_fetcher.cc | 212 std::string auth_code; local 213 if (!dict->GetString(kCodeKey, &auth_code)) { 223 gaia_oauth_client_->GetTokensFromAuthCode(client_info, auth_code, kNumRetries,
|
managed_user_refresh_token_fetcher_unittest.cc | 172 std::string auth_code; local 173 EXPECT_TRUE(GetValueForKey(url_fetcher->upload_data(), "code", &auth_code)); 174 EXPECT_EQ(kAuthorizationCode, auth_code);
|