HomeSort by relevance Sort by last modified time
    Searched refs:HttpAuth (Results 26 - 50 of 111) sorted by null

12 3 4 5

  /external/chromium/net/http/
http_auth_controller.h 36 HttpAuthController(HttpAuth::Target target,
72 virtual bool IsAuthSchemeDisabled(HttpAuth::Scheme scheme) const;
73 virtual void DisableAuthScheme(HttpAuth::Scheme scheme);
118 HttpAuth::Target target_;
138 HttpAuth::Identity identity_;
162 std::set<HttpAuth::Scheme> disabled_schemes_;
http_auth_handler_factory_unittest.cc 24 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
25 HttpAuth::Target target,
61 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
67 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
70 "Digest", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(),
77 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
80 "Digest", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(),
86 "basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
92 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
95 "Digest", HttpAuth::AUTH_SERVER, gurl, BoundNetLog()
    [all...]
http_auth_cache_unittest.cc 22 MockAuthHandler(HttpAuth::Scheme scheme,
24 HttpAuth::Target target) {
33 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
34 HttpAuth::ChallengeTokenizer* challenge) {
35 return HttpAuth::AUTHORIZATION_RESULT_REJECT;
39 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge) {
84 new MockAuthHandler(HttpAuth::AUTH_SCHEME_BASIC,
86 HttpAuth::AUTH_SERVER));
92 new MockAuthHandler(HttpAuth::AUTH_SCHEME_BASIC,
94 HttpAuth::AUTH_SERVER))
    [all...]
http_auth_handler_ntlm.h 45 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
46 HttpAuth::Target target,
113 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
114 HttpAuth::ChallengeTokenizer* challenge);
121 virtual bool Init(HttpAuth::ChallengeTokenizer* tok);
140 HttpAuth::AuthorizationResult ParseChallenge(
141 HttpAuth::ChallengeTokenizer* tok, bool initial_challenge);
http_auth_controller.cc 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
    [all...]
http_auth_handler_basic_unittest.cc 38 challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog(), &basic));
53 HttpAuth::AuthorizationResult expected_rv;
61 HttpAuth::AUTHORIZATION_RESULT_REJECT
67 HttpAuth::AUTHORIZATION_RESULT_DIFFERENT_REALM
75 HttpAuth::AUTHORIZATION_RESULT_REJECT
81 HttpAuth::AUTHORIZATION_RESULT_DIFFERENT_REALM
89 tests[0].challenge, HttpAuth::AUTH_SERVER, origin,
94 HttpAuth::ChallengeTokenizer tok(challenge.begin(),
181 challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog(), &basic);
http_auth_cache.h 50 HttpAuth::Scheme scheme);
75 HttpAuth::Scheme scheme,
91 HttpAuth::Scheme scheme,
102 HttpAuth::Scheme scheme,
125 HttpAuth::Scheme scheme() const {
176 HttpAuth::Scheme scheme_;
http_auth_handler_factory.h 77 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
78 HttpAuth::Target target,
91 HttpAuth::Target target,
103 HttpAuth::Target target,
186 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
187 HttpAuth::Target target,
http_auth_gssapi_posix_unittest.cc 180 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
182 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
193 HttpAuth::ChallengeTokenizer first_challenge(first_challenge_text.begin(),
195 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
206 HttpAuth::ChallengeTokenizer second_challenge(second_challenge_text.begin(),
208 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
219 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
221 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_INVALID,
232 HttpAuth::ChallengeTokenizer first_challenge(first_challenge_text.begin(),
234 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT
    [all...]
http_auth_handler_unittest.cc 34 HttpAuth::Target target =
35 (k == 0) ? HttpAuth::AUTH_PROXY : HttpAuth::AUTH_SERVER;
38 HttpAuth::ChallengeTokenizer tokenizer(
  /external/chromium_org/chrome/browser/net/spdyproxy/
http_auth_handler_spdyproxy.h 28 net::HttpAuth::ChallengeTokenizer* challenge,
29 net::HttpAuth::Target target,
45 virtual net::HttpAuth::AuthorizationResult HandleAnotherChallenge(
46 net::HttpAuth::ChallengeTokenizer* challenge) OVERRIDE;
56 virtual bool Init(net::HttpAuth::ChallengeTokenizer* challenge) OVERRIDE;
63 bool ParseChallenge(net::HttpAuth::ChallengeTokenizer* challenge);
http_auth_handler_spdyproxy.cc 24 using net::HttpAuth;
45 HttpAuth::ChallengeTokenizer* challenge,
46 HttpAuth::Target target,
77 HttpAuth::AuthorizationResult
79 HttpAuth::ChallengeTokenizer* challenge) {
82 return HttpAuth::AUTHORIZATION_RESULT_REJECT;
100 HttpAuth::ChallengeTokenizer* challenge) {
101 auth_scheme_ = HttpAuth::AUTH_SCHEME_SPDYPROXY;
122 HttpAuth::ChallengeTokenizer* challenge) {
  /external/chromium_org/net/http/
http_auth_controller.h 37 HttpAuthController(HttpAuth::Target target,
72 virtual bool IsAuthSchemeDisabled(HttpAuth::Scheme scheme) const;
73 virtual void DisableAuthScheme(HttpAuth::Scheme scheme);
120 HttpAuth::Target target_;
140 HttpAuth::Identity identity_;
164 std::set<HttpAuth::Scheme> disabled_schemes_;
http_auth_handler_factory_unittest.cc 24 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
25 HttpAuth::Target target,
61 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
67 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
70 "Digest", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(),
77 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
80 "Digest", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(),
86 "basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
92 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
95 "Digest", HttpAuth::AUTH_SERVER, gurl, BoundNetLog()
    [all...]
http_auth_controller_unittest.cc 67 auth_handler_factory.AddMockHandler(auth_handler, HttpAuth::AUTH_PROXY);
71 new HttpAuthController(HttpAuth::AUTH_PROXY,
88 controller->IsAuthSchemeDisabled(HttpAuth::AUTH_SCHEME_MOCK));
124 MockHandler(int expected_rv, HttpAuth::Scheme scheme)
130 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge) OVERRIDE {
137 auth_scheme_ = HttpAuth::AUTH_SCHEME_BASIC;
160 HttpAuth::Scheme expected_scheme_;
181 new MockHandler(OK, HttpAuth::AUTH_SCHEME_MOCK), HttpAuth::AUTH_SERVER);
183 new MockHandler(ERR_UNEXPECTED, HttpAuth::AUTH_SCHEME_BASIC)
    [all...]
http_auth_handler_mock.h 38 void AddMockHandler(HttpAuthHandler* handler, HttpAuth::Target target);
46 HttpAuth::ChallengeTokenizer* challenge,
47 HttpAuth::Target target,
55 ScopedVector<HttpAuthHandler> handlers_[HttpAuth::AUTH_NUM_TARGETS];
90 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
91 HttpAuth::ChallengeTokenizer* challenge) OVERRIDE;
97 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge) OVERRIDE;
http_auth_controller.cc 72 case HttpAuth::AUTH_PROXY:
77 case HttpAuth::AUTH_SERVER:
101 HttpAuth::Scheme auth_scheme = handler->auth_scheme();
102 DCHECK(auth_scheme >= 0 && auth_scheme < HttpAuth::AUTH_SCHEME_MAX);
116 HttpAuth::AUTH_SCHEME_MAX * AUTH_EVENT_MAX;
144 HttpAuth::AUTH_SCHEME_MAX * AUTH_TARGET_MAX;
155 HttpAuth::Target target,
162 auth_path_(HttpAuth::AUTH_PROXY ? std::string() : auth_url.path()),
181 if (identity_.source != HttpAuth::IDENT_SRC_DEFAULT_CREDENTIALS)
228 identity_.source = HttpAuth::IDENT_SRC_PATH_LOOKUP
    [all...]
http_auth_handler_basic_unittest.cc 38 challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog(), &basic));
53 HttpAuth::AuthorizationResult expected_rv;
61 HttpAuth::AUTHORIZATION_RESULT_REJECT
67 HttpAuth::AUTHORIZATION_RESULT_DIFFERENT_REALM
75 HttpAuth::AUTHORIZATION_RESULT_REJECT
81 HttpAuth::AUTHORIZATION_RESULT_DIFFERENT_REALM
89 tests[0].challenge, HttpAuth::AUTH_SERVER, origin,
94 HttpAuth::ChallengeTokenizer tok(challenge.begin(),
189 challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog(), &basic);
http_auth_cache.h 43 HttpAuth::Scheme scheme() const {
89 HttpAuth::Scheme scheme_;
119 HttpAuth::Scheme scheme);
143 HttpAuth::Scheme scheme,
157 HttpAuth::Scheme scheme,
167 HttpAuth::Scheme scheme,
http_auth_handler_factory.h 76 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
77 HttpAuth::Target target,
90 HttpAuth::Target target,
102 HttpAuth::Target target,
185 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
186 HttpAuth::Target target,
http_auth_handler_digest_unittest.cc 29 // If |target| is HttpAuth::AUTH_PROXY, then |proxy_name| specifies the source
32 bool RespondToChallenge(HttpAuth::Target target,
42 EXPECT_TRUE(target != HttpAuth::AUTH_PROXY || !proxy_name.empty());
55 GURL url_origin(target == HttpAuth::AUTH_SERVER ? request_url : proxy_name);
355 HttpAuth::AUTH_SERVER,
520 HttpAuth::AUTH_SERVER,
550 default_challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog(),
554 HttpAuth::ChallengeTokenizer tok_default(default_challenge.begin(),
556 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_REJECT,
560 HttpAuth::ChallengeTokenizer tok_stale(stale_challenge.begin()
    [all...]
http_auth_cache_unittest.cc 22 MockAuthHandler(HttpAuth::Scheme scheme,
24 HttpAuth::Target target) {
33 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
34 HttpAuth::ChallengeTokenizer* challenge) OVERRIDE {
35 return HttpAuth::AUTHORIZATION_RESULT_REJECT;
39 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge) OVERRIDE {
88 new MockAuthHandler(HttpAuth::AUTH_SCHEME_BASIC,
90 HttpAuth::AUTH_SERVER));
97 new MockAuthHandler(HttpAuth::AUTH_SCHEME_BASIC,
99 HttpAuth::AUTH_SERVER))
    [all...]
http_auth_gssapi_posix_unittest.cc 184 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
186 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
197 HttpAuth::ChallengeTokenizer first_challenge(first_challenge_text.begin(),
199 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
209 HttpAuth::ChallengeTokenizer second_challenge(second_challenge_text.begin(),
211 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
222 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
224 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_INVALID,
235 HttpAuth::ChallengeTokenizer first_challenge(first_challenge_text.begin(),
237 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT
    [all...]
http_auth_handler_unittest.cc 32 HttpAuth::Target target =
33 (k == 0) ? HttpAuth::AUTH_PROXY : HttpAuth::AUTH_SERVER;
36 HttpAuth::ChallengeTokenizer tokenizer(
http_auth_handler_ntlm.h 45 HttpAuth::ChallengeTokenizer* challenge,
46 HttpAuth::Target target,
111 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
112 HttpAuth::ChallengeTokenizer* challenge) OVERRIDE;
119 virtual bool Init(HttpAuth::ChallengeTokenizer* tok) OVERRIDE;
137 HttpAuth::AuthorizationResult ParseChallenge(
138 HttpAuth::ChallengeTokenizer* tok, bool initial_challenge);

Completed in 892 milliseconds

12 3 4 5