Searched refs:auth_code (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/remoting/host/setup/
H A Doauth_client.cc25 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 Doauth_client.h27 // 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 Dstart_host.cc109 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 Dhost_starter.h45 // |auth_code| must be a valid OAuth2 authorization code, typically acquired
50 const std::string& auth_code,
H A Dhost_starter.cc58 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 Dauth_code_getter.cc60 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 Dauth_code_getter.h37 // |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 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/
H A 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/chrome/browser/chromeos/login/signin/
H A Doauth2_token_fetcher.cc71 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 Doauth2_token_fetcher.h43 void StartExchangeFromAuthCode(const std::string& auth_code);
H A Doauth2_login_manager.h90 // 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 Dcloud_print_auth.cc174 std::string auth_code; local
175 if (!json_data->GetString(kOAuthCodeValue, &auth_code)) {
193 auth_code,
/external/chromium_org/chromeos/login/auth/
H A Duser_context.h58 void SetAuthCode(const std::string& auth_code);
H A Duser_context.cc118 void UserContext::SetAuthCode(const std::string& auth_code) { argument
119 auth_code_ = auth_code;
/external/chromium_org/google_apis/gaia/
H A 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);
H A Dgaia_oauth_client.h79 const std::string& auth_code,
H A Dgaia_auth_fetcher.cc324 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 Dgaia_auth_fetcher_unittest.cc722 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 Dgaia_oauth_client.cc45 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 Dfake_gaia.cc151 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 Dsupervised_user_refresh_token_fetcher.cc228 std::string auth_code; local
229 if (!dict->GetString(kCodeKey, &auth_code)) {
239 gaia_oauth_client_->GetTokensFromAuthCode(client_info, auth_code, kNumRetries,
H A Dsupervised_user_refresh_token_fetcher_unittest.cc188 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 Dgaia_screen_handler.h96 const std::string& auth_code);
/external/chromium_org/chrome/browser/chromeos/policy/
H A Duser_cloud_policy_manager_chromeos_browsertest.cc97 params.auth_code = kTestAuthCode;

Completed in 283 milliseconds

12