Home
last modified time | relevance | path

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

12

/external/chromium_org/remoting/host/setup/
Doauth_client.cc25 const std::string& auth_code, in GetCredentialsFromAuthCode() argument
29 pending_requests_.push(Request(oauth_client_info, auth_code, on_done)); in GetCredentialsFromAuthCode()
35 gaia_oauth_client_.GetTokensFromAuthCode(oauth_client_info, auth_code, in GetCredentialsFromAuthCode()
67 request.oauth_client_info, request.auth_code, request.on_done); in SendResponse()
85 const std::string& auth_code, in Request() argument
88 this->auth_code = auth_code; in Request()
Doauth_client.h46 const std::string& auth_code,
63 const std::string& auth_code,
67 std::string auth_code; member
Dstart_host.cc109 std::string auth_code = command_line->GetSwitchValueASCII("code"); in main() local
149 if (auth_code.empty()) { in main()
152 auth_code = ReadString(true); in main()
181 host_starter->StartHost(host_name, host_pin, true, auth_code, redirect_url, in main()
Dhost_starter.cc58 const std::string& auth_code, in StartHost() argument
74 oauth_client_->GetTokensFromAuthCode(oauth_client_info_, auth_code, in StartHost()
Dhost_starter.h50 const std::string& auth_code,
/external/chromium_org/remoting/host/setup/win/
Dauth_code_getter.cc60 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(base::WideToUTF8(static_cast<BSTR>(url)), in TestBrowserUrl()
81 if (!auth_code->empty()) { in TestBrowserUrl()
Dauth_code_getter.h38 bool TestBrowserUrl(std::string* auth_code);
/external/chromium_org/chrome/browser/chromeos/login/signin/
Doauth2_token_fetcher.cc71 const std::string& auth_code) { in StartExchangeFromAuthCode() argument
73 auth_code_ = auth_code; in StartExchangeFromAuthCode()
86 auth_code), in StartExchangeFromAuthCode()
90 auth_fetcher_.StartAuthCodeForOAuth2TokenExchange(auth_code); in StartExchangeFromAuthCode()
Doauth2_token_fetcher.h43 void StartExchangeFromAuthCode(const std::string& auth_code);
Doauth2_login_manager.cc70 const std::string& auth_code) { in RestoreSession() argument
76 auth_code_ = auth_code; in RestoreSession()
/external/chromium_org/third_party/skia/platform_tools/android/bin/
Dhttp_download.py47 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/
Dhttp_download.py47 auth_code = base64.b64encode(username + ':' + password)
49 auth_code = base64.b64encode(username)
50 headers.append(('Authorization', 'Basic ' + auth_code))
/external/chromium_org/google_apis/gaia/
Dgaia_auth_fetcher_unittest.cc722 std::string auth_code; in TEST_F() local
725 cookies, &auth_code)); in TEST_F()
726 EXPECT_EQ("", auth_code); in TEST_F()
729 std::string auth_code; in TEST_F() local
735 cookies, &auth_code)); in TEST_F()
736 EXPECT_EQ("", auth_code); in TEST_F()
739 std::string auth_code; in TEST_F() local
746 cookies, &auth_code)); in TEST_F()
747 EXPECT_EQ("test-code", auth_code); in TEST_F()
750 std::string auth_code; in TEST_F() local
[all …]
Dgaia_auth_fetcher.cc324 const std::string& auth_code) { in MakeGetTokenPairBody() argument
331 std::string encoded_auth_code = net::EscapeUrlEncodedData(auth_code, true); in MakeGetTokenPairBody()
449 std::string* auth_code) { in ParseClientLoginToOAuth2Response() argument
450 DCHECK(auth_code); in ParseClientLoginToOAuth2Response()
453 if (ParseClientLoginToOAuth2Cookie(*iter, auth_code)) in ParseClientLoginToOAuth2Response()
461 std::string* auth_code) { in ParseClientLoginToOAuth2Cookie() argument
475 auth_code->assign(part.substr( in ParseClientLoginToOAuth2Cookie()
605 const std::string& auth_code) { in StartAuthCodeForOAuth2TokenExchange() argument
609 request_body_ = MakeGetTokenPairBody(auth_code); in StartAuthCodeForOAuth2TokenExchange()
805 std::string auth_code; in OnClientLoginToOAuth2Fetched() local
[all …]
Dgaia_oauth_client.cc45 const std::string& auth_code,
104 const std::string& auth_code, in GetTokensFromAuthCode() argument
110 "code=" + net::EscapeUrlEncodedData(auth_code, true) + in GetTokensFromAuthCode()
356 const std::string& auth_code, in GetTokensFromAuthCode() argument
360 auth_code, in GetTokensFromAuthCode()
Dgaia_auth_fetcher.h136 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);
Dfake_gaia.cc151 params.auth_code = kTestAuthCode; in SetFakeMergeSessionParams()
290 if (merge_session_params_.auth_code.empty()) { in HandleProgramaticAuth()
326 merge_session_params_.auth_code.c_str())); in HandleProgramaticAuth()
467 std::string auth_code; in HandleAuthToken() local
468 if (!GetQueryParameter(request.content, "code", &auth_code) || in HandleAuthToken()
469 auth_code != merge_session_params_.auth_code) { in HandleAuthToken()
Dgaia_oauth_client.h79 const std::string& auth_code,
/external/chromium_org/chrome/service/cloud_print/
Dcloud_print_auth.cc174 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/chromeos/login/auth/
Duser_context.cc118 void UserContext::SetAuthCode(const std::string& auth_code) { in SetAuthCode() argument
119 auth_code_ = auth_code; in SetAuthCode()
Duser_context.h58 void SetAuthCode(const std::string& auth_code);
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_refresh_token_fetcher.cc228 std::string auth_code; in OnURLFetchComplete() local
229 if (!dict->GetString(kCodeKey, &auth_code)) { in OnURLFetchComplete()
239 gaia_oauth_client_->GetTokensFromAuthCode(client_info, auth_code, kNumRetries, in OnURLFetchComplete()
Dsupervised_user_refresh_token_fetcher_unittest.cc188 std::string auth_code; in GetRefreshTokenRequest() local
189 EXPECT_TRUE(GetValueForKey(url_fetcher->upload_data(), "code", &auth_code)); in GetRefreshTokenRequest()
190 EXPECT_EQ(kAuthorizationCode, auth_code); in GetRefreshTokenRequest()
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dgaia_screen_handler.h96 const std::string& auth_code);
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_policy_manager_chromeos_browsertest.cc97 params.auth_code = kTestAuthCode; in SetMergeSessionParams()

12