Home | History | Annotate | Download | only in http

Lines Matching refs:identity_

184   if (identity_.source != HttpAuth::IDENT_SRC_DEFAULT_CREDENTIALS) {
185 username = &identity_.username;
186 password = &identity_.password;
207 DCHECK(identity_.invalid);
234 identity_.source = HttpAuth::IDENT_SRC_PATH_LOOKUP;
235 identity_.invalid = false;
236 identity_.username = entry->username();
237 identity_.password = entry->password();
305 (identity_.source == HttpAuth::IDENT_SRC_PATH_LOOKUP) ?
315 identity_.invalid = true;
349 // If an identity to try is found, it is saved to identity_.
353 identity_.invalid = false;
358 if (identity_.invalid) {
372 DCHECK(identity_.invalid || (username.empty() && password.empty()));
374 if (identity_.invalid) {
376 identity_.source = HttpAuth::IDENT_SRC_EXTERNAL;
377 identity_.invalid = false;
378 identity_.username = username;
379 identity_.password = password;
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
398 switch (identity_.source) {
405 identity_.username, identity_.password,
416 return handler_.get() && !identity_.invalid;
426 identity_ = HttpAuth::Identity();
437 handler_->auth_scheme(), identity_.username,
438 identity_.password);
444 DCHECK(identity_.invalid);
449 identity_.source = HttpAuth::IDENT_SRC_URL;
450 identity_.invalid = false;
453 &identity_.username,
454 &identity_.password);
467 identity_.source = HttpAuth::IDENT_SRC_REALM_LOOKUP;
468 identity_.invalid = false;
469 identity_.username = entry->username();
470 identity_.password = entry->password();
480 identity_.source = HttpAuth::IDENT_SRC_DEFAULT_CREDENTIALS;
481 identity_.invalid = false;