Lines Matching refs:HttpAuth
70 case HttpAuth::AUTH_PROXY:
75 case HttpAuth::AUTH_SERVER:
99 HttpAuth::Scheme auth_scheme = handler->auth_scheme();
100 DCHECK(auth_scheme >= 0 && auth_scheme < HttpAuth::AUTH_SCHEME_MAX);
114 HttpAuth::AUTH_SCHEME_MAX * AUTH_EVENT_MAX;
142 HttpAuth::AUTH_SCHEME_MAX * AUTH_TARGET_MAX;
153 HttpAuth::Target target,
160 auth_path_(HttpAuth::AUTH_PROXY ? std::string() : auth_url.path()),
184 if (identity_.source != HttpAuth::IDENT_SRC_DEFAULT_CREDENTIALS) {
234 identity_.source = HttpAuth::IDENT_SRC_PATH_LOOKUP;
250 HttpAuth::GetAuthorizationHeaderName(target_), auth_token_);
263 VLOG(1) << "The " << HttpAuth::GetAuthTargetString(target_) << " "
273 HttpAuth::AuthorizationResult result = HttpAuth::HandleChallengeResponse(
276 case HttpAuth::AUTHORIZATION_RESULT_ACCEPT:
278 case HttpAuth::AUTHORIZATION_RESULT_INVALID:
281 case HttpAuth::AUTHORIZATION_RESULT_REJECT:
285 case HttpAuth::AUTHORIZATION_RESULT_STALE:
298 case HttpAuth::AUTHORIZATION_RESULT_DIFFERENT_REALM:
305 (identity_.source == HttpAuth::IDENT_SRC_PATH_LOOKUP) ?
317 bool can_send_auth = (target_ != HttpAuth::AUTH_SERVER ||
321 HttpAuth::ChooseBestChallenge(http_auth_handler_factory_,
332 << HttpAuth::GetAuthTargetString(target_) << " "
339 DCHECK(target_ == HttpAuth::AUTH_PROXY);
376 identity_.source = HttpAuth::IDENT_SRC_EXTERNAL;
382 DCHECK(identity_.source != HttpAuth::IDENT_SRC_PATH_LOOKUP);
389 // If identity_.source is HttpAuth::IDENT_SRC_NONE or
390 // HttpAuth::IDENT_SRC_DEFAULT_CREDENTIALS, identity_ contains no
399 case HttpAuth::IDENT_SRC_NONE:
400 case HttpAuth::IDENT_SRC_DEFAULT_CREDENTIALS:
426 identity_ = HttpAuth::Identity();
447 if (target_ == HttpAuth::AUTH_SERVER && auth_url_.has_username() &&
449 identity_.source = HttpAuth::IDENT_SRC_URL;
467 identity_.source = HttpAuth::IDENT_SRC_REALM_LOOKUP;
480 identity_.source = HttpAuth::IDENT_SRC_DEFAULT_CREDENTIALS;
496 auth_info_->is_proxy = target_ == HttpAuth::AUTH_PROXY;
499 HttpAuth::SchemeToString(handler_->auth_scheme()));
550 bool HttpAuthController::IsAuthSchemeDisabled(HttpAuth::Scheme scheme) const {
555 void HttpAuthController::DisableAuthScheme(HttpAuth::Scheme scheme) {