namespace System.Net
{
-#if MOONLIGHT
- internal class AuthenticationManager {
-#else
public class AuthenticationManager {
-#endif
static ArrayList modules;
static object locker = new object ();
return;
modules = new ArrayList ();
-#if NET_2_1
+#if MOBILE
modules.Add (new NtlmClient ());
modules.Add (new DigestClient ());
modules.Add (new BasicClient ());
}
}
#else
+#pragma warning disable 618
ConfigurationSettings.GetConfig ("system.net/authenticationModules");
+#pragma warning restore 618
#endif
}
}
}
}
+ [MonoTODO]
+ internal static bool OSSupportsExtendedProtection {
+ get {
+ return false;
+ }
+ }
+
internal static void Clear ()
{
EnsureModules ();
if (auth == null)
continue;
- auth.Module = mod;
+ auth.ModuleAuthenticationType = mod.AuthenticationType;
return auth;
}
}
if (auth == null)
continue;
- auth.Module = mod;
+ auth.ModuleAuthenticationType = mod.AuthenticationType;
return auth;
}
}