Lines Matching refs:realm
21 // Parses a realm from an auth challenge, and converts to UTF8-encoding.
22 // Returns whether the realm is invalid or the parameters are invalid.
24 // Note that if a realm was not specified, we will default it to "";
25 // so specifying 'Basic realm=""' is equivalent to 'Basic'.
28 // production of challenge that realm is required.
31 // include a realm (see http://crbug.com/20984.)
33 // The over-the-wire realm is encoded as ISO-8859-1 (aka Latin-1).
38 std::string* realm) {
39 CHECK(realm);
40 realm->clear();
43 if (!LowerCaseEqualsASCII(parameters.name(), "realm"))
47 realm)) {
69 std::string realm;
70 if (!ParseRealm(*challenge, &realm))
73 realm_ = realm;
81 // is for a different realm, then indicate the realm change.
82 std::string realm;
83 if (!ParseRealm(*challenge, &realm))
85 return (realm_ != realm)?