diff options
Diffstat (limited to 'net/http/http_auth_handler_negotiate.h')
-rw-r--r-- | net/http/http_auth_handler_negotiate.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/net/http/http_auth_handler_negotiate.h b/net/http/http_auth_handler_negotiate.h index eb4d11f..b057f5c 100644 --- a/net/http/http_auth_handler_negotiate.h +++ b/net/http/http_auth_handler_negotiate.h @@ -30,11 +30,17 @@ class HttpAuthHandlerNegotiate : public HttpAuthHandler { virtual bool IsFinalRound(); - virtual std::string GenerateCredentials(const std::wstring& username, - const std::wstring& password, - const HttpRequestInfo* request, - const ProxyInfo* proxy); + virtual bool AllowDefaultCredentials(); + virtual int GenerateAuthToken(const std::wstring& username, + const std::wstring& password, + const HttpRequestInfo* request, + const ProxyInfo* proxy, + std::string* auth_token); + + virtual int GenerateDefaultAuthToken(const HttpRequestInfo* request, + const ProxyInfo* proxy, + std::string* auth_token); protected: virtual bool Init(std::string::const_iterator challenge_begin, |