Home
last modified time | relevance | path

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

/external/chromium/chrome/common/net/gaia/
Dgaia_auth_fetcher.cc24 const char GaiaAuthFetcher::kClientLoginFormat[] =
32 const char GaiaAuthFetcher::kClientLoginCaptchaFormat[] =
42 const char GaiaAuthFetcher::kIssueAuthTokenFormat[] =
48 const char GaiaAuthFetcher::kGetUserInfoFormat[] =
52 const char GaiaAuthFetcher::kAccountDeletedError[] = "AccountDeleted";
54 const char GaiaAuthFetcher::kAccountDisabledError[] = "AccountDisabled";
56 const char GaiaAuthFetcher::kBadAuthenticationError[] = "BadAuthentication";
58 const char GaiaAuthFetcher::kCaptchaError[] = "CaptchaRequired";
60 const char GaiaAuthFetcher::kServiceUnavailableError[] =
63 const char GaiaAuthFetcher::kErrorParam[] = "Error";
[all …]
Dgaia_auth_fetcher_unittest.cc64 : client_login_source_(GaiaAuthFetcher::kClientLoginUrl), in GaiaAuthFetcherTest()
65 issue_auth_token_source_(GaiaAuthFetcher::kIssueAuthTokenUrl) {} in GaiaAuthFetcherTest()
75 GaiaAuthFetcher::ParseClientLoginResponse(data, in RunParsingTest()
94 GaiaAuthFetcher::ParseClientLoginFailure(data, in RunErrorParsingTest()
160 GaiaAuthFetcher auth(&consumer, std::string(), in TEST_F()
182 GaiaAuthFetcher auth(&consumer, std::string(), in TEST_F()
205 GaiaAuthFetcher auth(&consumer, std::string(), in TEST_F()
254 GaiaAuthFetcher auth(&consumer, std::string(), in TEST_F()
270 GaiaAuthFetcher auth(&consumer, std::string(), in TEST_F()
284 GaiaAuthFetcher::kSecondFactor); in TEST_F()
[all …]
Dgaia_auth_fetcher.h29 class GaiaAuthFetcher : public URLFetcher::Delegate {
47 GaiaAuthFetcher(GaiaAuthConsumer* consumer,
50 virtual ~GaiaAuthFetcher();
203 DISALLOW_COPY_AND_ASSIGN(GaiaAuthFetcher);
/external/chromium/chrome/browser/chromeos/login/
Dauth_attempt_state.cc30 hosted_policy_(GaiaAuthFetcher::HostedAccountsAllowed), in AuthAttemptState()
45 hosted_policy_(GaiaAuthFetcher::HostedAccountsAllowed), in AuthAttemptState()
68 hosted_policy_ = GaiaAuthFetcher::HostedAccountsNotAllowed; in DisableHosted()
106 GaiaAuthFetcher::HostedAccountsSetting AuthAttemptState::hosted_policy() { in hosted_policy()
Denterprise_enrollment_screen.cc46 new GaiaAuthFetcher(this, GaiaConstants::kChromeSource, in Authenticate()
53 GaiaAuthFetcher::HostedAccountsAllowed); in Authenticate()
58 GaiaAuthFetcher::HostedAccountsAllowed); in Authenticate()
120 scoped_ptr<GaiaAuthFetcher> auth_fetcher(auth_fetcher_.release()); in OnIssueAuthTokenSuccess()
195 scoped_ptr<GaiaAuthFetcher> scoped_killer(auth_fetcher_.release()); in HandleAuthError()
Donline_attempt.cc47 gaia_authenticator_.reset(new GaiaAuthFetcher(this, in Initiate()
64 if (attempt_->hosted_policy() == GaiaAuthFetcher::HostedAccountsAllowed && in OnClientLoginSuccess()
100 attempt_->hosted_policy() != GaiaAuthFetcher::HostedAccountsAllowed) { in OnClientLoginFailure()
Donline_attempt.h19 class GaiaAuthFetcher; variable
64 scoped_ptr<GaiaAuthFetcher> gaia_authenticator_;
Dauth_attempt_state.h58 virtual GaiaAuthFetcher::HostedAccountsSetting hosted_policy();
86 GaiaAuthFetcher::HostedAccountsSetting hosted_policy_;
Dgoogle_authenticator.cc59 hosted_policy_(GaiaAuthFetcher::HostedAccountsAllowed), in GoogleAuthenticator()
135 new GaiaAuthFetcher(this, in AuthenticateToLogin()
185 if (hosted_policy_ == GaiaAuthFetcher::HostedAccountsAllowed && in OnClientLoginSuccess()
194 hosted_policy_ = GaiaAuthFetcher::HostedAccountsNotAllowed; in OnClientLoginSuccess()
219 hosted_policy_ != GaiaAuthFetcher::HostedAccountsAllowed) { in OnClientLoginFailure()
233 hosted_policy_ = GaiaAuthFetcher::HostedAccountsNotAllowed; in OnClientLoginFailure()
Dgoogle_authenticator.h159 void set_hosted_policy(GaiaAuthFetcher::HostedAccountsSetting policy) { in set_hosted_policy()
174 scoped_ptr<GaiaAuthFetcher> gaia_authenticator_;
186 GaiaAuthFetcher::HostedAccountsSetting hosted_policy_;
Dparallel_authenticator.h26 class GaiaAuthFetcher; variable
240 scoped_ptr<GaiaAuthFetcher> gaia_authenticator_;
Dtest_attempt_state.cc44 hosted_policy_ = GaiaAuthFetcher::HostedAccountsNotAllowed; in DisableHosted()
Dtest_attempt_state.h48 virtual GaiaAuthFetcher::HostedAccountsSetting hosted_policy() { in hosted_policy()
Denterprise_enrollment_screen.h89 scoped_ptr<GaiaAuthFetcher> auth_fetcher_;
Dlogin_utils.cc540 GURL(GaiaAuthFetcher::kClientLoginUrl), in OnNetworkManagerChanged()
555 GURL(GaiaAuthFetcher::kClientLoginUrl), in PrewarmAuthentication()
Dgoogle_authenticator_unittest.cc141 auth->set_hosted_policy(GaiaAuthFetcher::HostedAccountsAllowed); in PrepForFailedLogin()
/external/chromium/chrome/browser/sync/
Dsignin_manager.cc61 client_login_.reset(new GaiaAuthFetcher(this, in StartSignIn()
69 GaiaAuthFetcher::HostedAccountsNotAllowed); in StartSignIn()
77 client_login_.reset(new GaiaAuthFetcher(this, in ProvideSecondFactorAccessCode()
85 GaiaAuthFetcher::HostedAccountsNotAllowed); in ProvideSecondFactorAccessCode()
Dsignin_manager.h20 class GaiaAuthFetcher; variable
89 scoped_ptr<GaiaAuthFetcher> client_login_;
Dsignin_manager_unittest.cc38 fetcher, GURL(GaiaAuthFetcher::kClientLoginUrl), in SimulateValidResponse()
48 fetcher, GURL(GaiaAuthFetcher::kGetUserInfoUrl), in SimulateValidResponse()
/external/chromium/chrome/browser/printing/cloud_print/
Dcloud_print_setup_flow.h21 class GaiaAuthFetcher; variable
128 scoped_ptr<GaiaAuthFetcher> authenticator_;
Dcloud_print_setup_flow.cc242 new GaiaAuthFetcher(this, GaiaConstants::kChromeSource, in OnUserSubmittedAuth()
249 GaiaAuthFetcher::HostedAccountsAllowed); in OnUserSubmittedAuth()
254 GaiaAuthFetcher::HostedAccountsAllowed); in OnUserSubmittedAuth()
/external/chromium/chrome/browser/remoting/
Dsetup_flow_login_step.cc76 new GaiaAuthFetcher(this, GaiaConstants::kChromeSource, in OnUserSubmittedAuth()
88 GaiaAuthFetcher::HostedAccountsAllowed); in OnUserSubmittedAuth()
Dsetup_flow_login_step.h50 scoped_ptr<GaiaAuthFetcher> authenticator_;
/external/chromium/chrome/browser/net/gaia/
Dtoken_service.h184 scoped_ptr<GaiaAuthFetcher> fetchers_[kNumServices];
Dtoken_service.cc98 fetchers_[i].reset(new GaiaAuthFetcher(this, source_, getter_)); in UpdateCredentials()