HomeSort by relevance Sort by last modified time
    Searched refs:auth_code (Results 1 - 25 of 33) sorted by null

1 2

  /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 95 std::string auth_code = command_line->GetSwitchValueASCII("code"); local
135 if (auth_code.empty()) {
138 auth_code = ReadString(true);
164 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/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(base::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/third_party/skia/platform_tools/android/bin/
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/
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/
oauth2_token_fetcher.cc 67 const std::string& auth_code) {
69 auth_code_ = auth_code;
82 auth_code),
86 auth_fetcher_.StartAuthCodeForOAuth2TokenExchange(auth_code);
oauth2_token_fetcher.h 42 void StartExchangeFromAuthCode(const std::string& 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);
  /external/chromium_org/chrome/browser/chromeos/login/auth/
user_context.h 50 void SetAuthCode(const std::string& auth_code);
user_context.cc 88 void UserContext::SetAuthCode(const std::string& auth_code) {
89 auth_code_ = 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/google_apis/gaia/
gaia_auth_fetcher.h 136 void StartAuthCodeForOAuth2TokenExchange(const std::string& auth_code);
311 std::string* auth_code);
314 std::string* auth_code);
336 static std::string MakeGetTokenPairBody(const std::string& auth_code);
gaia_oauth_client.h 76 const std::string& auth_code,
gaia_oauth_client.cc 45 const std::string& auth_code,
99 const std::string& auth_code,
105 "code=" + net::EscapeUrlEncodedData(auth_code, true) +
341 const std::string& auth_code,
345 auth_code,
gaia_auth_fetcher.cc 322 const std::string& auth_code) {
329 std::string encoded_auth_code = net::EscapeUrlEncodedData(auth_code, true);
439 std::string* auth_code) {
440 DCHECK(auth_code);
443 if (ParseClientLoginToOAuth2Cookie(*iter, auth_code))
451 std::string* auth_code) {
465 auth_code->assign(part.substr(
595 const std::string& auth_code) {
599 request_body_ = MakeGetTokenPairBody(auth_code);
780 std::string auth_code; local
    [all...]
gaia_auth_fetcher_unittest.cc 721 std::string auth_code; local
724 cookies, &auth_code));
725 EXPECT_EQ("", auth_code);
728 std::string auth_code; local
734 cookies, &auth_code));
735 EXPECT_EQ("", auth_code);
738 std::string auth_code; local
745 cookies, &auth_code));
746 EXPECT_EQ("test-code", auth_code);
749 std::string auth_code; local
    [all...]
fake_gaia.cc 259 if (merge_session_params_.auth_code.empty()) {
295 merge_session_params_.auth_code.c_str()));
420 std::string auth_code; local
431 if (!GetQueryParameter(request.content, "code", &auth_code) ||
432 auth_code != merge_session_params_.auth_code) {
fake_gaia.h 60 // auth_code cookie value response for /o/oauth2/programmatic_auth call.
61 std::string auth_code; member in struct:FakeGaia::MergeSessionParams
  /external/chromium_org/chrome/browser/ui/webui/chromeos/login/
gaia_screen_handler.h 80 const std::string& auth_code);
  /external/chromium_org/chrome/browser/supervised_user/
supervised_user_refresh_token_fetcher.cc 215 std::string auth_code; local
216 if (!dict->GetString(kCodeKey, &auth_code)) {
226 gaia_oauth_client_->GetTokensFromAuthCode(client_info, auth_code, kNumRetries,
supervised_user_refresh_token_fetcher_unittest.cc 174 std::string auth_code; local
175 EXPECT_TRUE(GetValueForKey(url_fetcher->upload_data(), "code", &auth_code));
176 EXPECT_EQ(kAuthorizationCode, auth_code);

Completed in 533 milliseconds

1 2