/external/chromium_org/remoting/host/setup/win/ |
D | auth_code_getter.cc | 60 std::string auth_code; in OnTimer() local 61 if (TestBrowserUrl(&auth_code)) { in OnTimer() 62 on_auth_code_.Run(auth_code); in OnTimer() 68 bool AuthCodeGetter::TestBrowserUrl(std::string* auth_code) { in TestBrowserUrl() argument 69 *auth_code = ""; in TestBrowserUrl() 79 *auth_code = GetOauthCodeInUrl(WideToUTF8(static_cast<BSTR>(url)), in TestBrowserUrl() 81 if (!auth_code->empty()) { in TestBrowserUrl()
|
D | auth_code_getter.h | 38 bool TestBrowserUrl(std::string* auth_code);
|
/external/chromium_org/remoting/host/setup/ |
D | oauth_client.cc | 23 const std::string& auth_code, in GetCredentialsFromAuthCode() argument 27 pending_requests_.push(Request(oauth_client_info, auth_code, on_done)); in GetCredentialsFromAuthCode() 33 gaia_oauth_client_.GetTokensFromAuthCode(oauth_client_info, auth_code, in GetCredentialsFromAuthCode() 65 request.oauth_client_info, request.auth_code, request.on_done); in SendResponse() 83 const std::string& auth_code, in Request() argument 86 this->auth_code = auth_code; in Request()
|
D | oauth_client.h | 41 const std::string& auth_code, 58 const std::string& auth_code, 62 std::string auth_code; member
|
D | start_host.cc | 94 std::string auth_code = command_line->GetSwitchValueASCII("code"); in main() local 134 if (auth_code.empty()) { in main() 137 auth_code = ReadString(true); in main() 163 host_starter->StartHost(host_name, host_pin, true, auth_code, redirect_url, in main()
|
D | host_starter.cc | 56 const std::string& auth_code, in StartHost() argument 72 oauth_client_->GetTokensFromAuthCode(oauth_client_info_, auth_code, in StartHost()
|
D | me2me_native_messaging_host.cc | 375 std::string auth_code; in ProcessGetCredentialsFromAuthCode() local 376 if (!message.GetString("authorizationCode", &auth_code)) { in ProcessGetCredentialsFromAuthCode() 388 oauth_client_info, auth_code, base::Bind( in ProcessGetCredentialsFromAuthCode()
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | user.cc | 116 const std::string& auth_code) in UserContext() argument 119 auth_code(auth_code), in UserContext() 125 const std::string& auth_code, in UserContext() argument 129 auth_code(auth_code), in UserContext() 136 const std::string& auth_code, in UserContext() argument 141 auth_code(auth_code), in UserContext() 152 context.auth_code == auth_code && in operator ==()
|
D | oauth2_token_fetcher.cc | 64 const std::string& auth_code) { in StartExchangeFromAuthCode() argument 66 auth_code_ = auth_code; in StartExchangeFromAuthCode() 79 auth_code), in StartExchangeFromAuthCode() 83 auth_fetcher_.StartAuthCodeForOAuth2TokenExchange(auth_code); in StartExchangeFromAuthCode()
|
D | user.h | 30 const std::string& auth_code); 33 const std::string& auth_code, 37 const std::string& auth_code, 44 std::string auth_code; member
|
D | oauth2_token_fetcher.h | 42 void StartExchangeFromAuthCode(const std::string& auth_code);
|
D | online_attempt_host.cc | 39 user_context.auth_code), in Check()
|
D | login_performer.cc | 310 user_context_.auth_code.clear(); in StartLoginCompletion() 331 user_context_.auth_code.clear(); in StartAuthentication()
|
D | oauth2_login_manager.cc | 64 const std::string& auth_code) { in RestoreSession() argument 69 auth_code_ = auth_code; in RestoreSession()
|
D | login_utils.cc | 456 user_context_.auth_code = command_line->GetSwitchValueASCII( in InitSessionRestoreStrategy() 461 if (!user_context_.auth_code.empty()) { in InitSessionRestoreStrategy() 475 } else if (!user_context_.auth_code.empty()) { in InitSessionRestoreStrategy() 558 user_context_.auth_code); in RestoreAuthSession()
|
/external/chromium/chrome/common/net/gaia/ |
D | gaia_oauth_client.cc | 38 const std::string& auth_code, 75 const std::string& auth_code, in GetTokensFromAuthCode() argument 79 "code=" + EscapeUrlEncodedData(auth_code) + in GetTokensFromAuthCode() 199 const std::string& auth_code, in GetTokensFromAuthCode() argument 203 auth_code, in GetTokensFromAuthCode()
|
D | gaia_oauth_client.h | 58 const std::string& auth_code,
|
/external/chromium_org/google_apis/gaia/ |
D | gaia_auth_fetcher.cc | 313 const std::string& auth_code) { in MakeGetTokenPairBody() argument 320 std::string encoded_auth_code = net::EscapeUrlEncodedData(auth_code, true); in MakeGetTokenPairBody() 430 std::string* auth_code) { in ParseClientLoginToOAuth2Response() argument 431 DCHECK(auth_code); in ParseClientLoginToOAuth2Response() 434 if (ParseClientLoginToOAuth2Cookie(*iter, auth_code)) in ParseClientLoginToOAuth2Response() 442 std::string* auth_code) { in ParseClientLoginToOAuth2Cookie() argument 456 auth_code->assign(part.substr( in ParseClientLoginToOAuth2Cookie() 573 const std::string& auth_code) { in StartAuthCodeForOAuth2TokenExchange() argument 577 request_body_ = MakeGetTokenPairBody(auth_code); in StartAuthCodeForOAuth2TokenExchange() 818 std::string auth_code; in OnClientLoginToOAuth2Fetched() local [all …]
|
D | gaia_auth_fetcher_unittest.cc | 734 std::string auth_code; in TEST_F() local 737 cookies, &auth_code)); in TEST_F() 738 EXPECT_EQ("", auth_code); in TEST_F() 741 std::string auth_code; in TEST_F() local 747 cookies, &auth_code)); in TEST_F() 748 EXPECT_EQ("", auth_code); in TEST_F() 751 std::string auth_code; in TEST_F() local 758 cookies, &auth_code)); in TEST_F() 759 EXPECT_EQ("test-code", auth_code); in TEST_F() 762 std::string auth_code; in TEST_F() local [all …]
|
D | gaia_oauth_client.cc | 45 const std::string& auth_code, 99 const std::string& auth_code, in GetTokensFromAuthCode() argument 105 "code=" + net::EscapeUrlEncodedData(auth_code, true) + in GetTokensFromAuthCode() 338 const std::string& auth_code, in GetTokensFromAuthCode() argument 342 auth_code, in GetTokensFromAuthCode()
|
D | 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);
|
D | gaia_oauth_client.h | 76 const std::string& auth_code,
|
/external/chromium_org/chrome/service/cloud_print/ |
D | cloud_print_auth.cc | 174 std::string auth_code; in HandleJSONData() local 175 if (!json_data->GetString(kOAuthCodeValue, &auth_code)) { in HandleJSONData() 193 auth_code, in HandleJSONData()
|
/external/chromium_org/chrome/browser/managed_mode/ |
D | managed_user_refresh_token_fetcher.cc | 212 std::string auth_code; in OnURLFetchComplete() local 213 if (!dict->GetString(kCodeKey, &auth_code)) { in OnURLFetchComplete() 223 gaia_oauth_client_->GetTokensFromAuthCode(client_info, auth_code, kNumRetries, in OnURLFetchComplete()
|
D | managed_user_refresh_token_fetcher_unittest.cc | 172 std::string auth_code; in GetRefreshTokenRequest() local 173 EXPECT_TRUE(GetValueForKey(url_fetcher->upload_data(), "code", &auth_code)); in GetRefreshTokenRequest() 174 EXPECT_EQ(kAuthorizationCode, auth_code); in GetRefreshTokenRequest()
|