<rdar://problem/5472130> Support NTLM authentication via CFNetwork.
[WebKit-https.git] / WebCore / platform / network / ProtectionSpace.h
index 05b8439155f9854d433973fe578e013dceedaaad..9a73cff6372c2dd144c5f334f8bf16be106712f2 100644 (file)
@@ -45,6 +45,8 @@ enum ProtectionSpaceAuthenticationScheme {
   ProtectionSpaceAuthenticationSchemeHTTPBasic = 2,
   ProtectionSpaceAuthenticationSchemeHTTPDigest = 3,
   ProtectionSpaceAuthenticationSchemeHTMLForm = 4,
+  ProtectionSpaceAuthenticationSchemeNTLM = 5,
+  ProtectionSpaceAuthenticationSchemeNegotiate = 6,
 };
 
 class ProtectionSpace {
@@ -56,9 +58,12 @@ public:
     const String& host() const;
     int port() const;
     ProtectionSpaceServerType serverType() const;
+    bool isProxy() const;
     const String& realm() const;
     ProtectionSpaceAuthenticationScheme authenticationScheme() const;
     
+    bool receivesCredentialSecurely() const;
+
 private:
     String m_host;
     int m_port;