17 references to AuthenticationMode
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
546this.isWindowsAuthentication = (authSection.Mode == AuthenticationMode.Windows);
System.Web (16)
Configuration\AuthenticationConfig.cs (3)
27private static AuthenticationMode? s_explicitMode; 29internal static AuthenticationMode Mode { 42Debug.Assert(value == AuthenticationMode.Forms, "Only Forms mode can be set to override config");
Configuration\AuthenticationSection.cs (7)
102new ConfigurationProperty("mode", typeof(AuthenticationMode), AuthenticationMode.Windows, ConfigurationPropertyOptions.None); 113private AuthenticationMode authenticationModeCache; 141[ConfigurationProperty("mode", DefaultValue = AuthenticationMode.Windows)] 142public AuthenticationMode Mode { 145authenticationModeCache = (AuthenticationMode)base[_propMode]; 165if (Mode == AuthenticationMode.Passport && UnsafeNativeMethods.PassportVersion() < 0) {
Hosting\IIS7WorkerRequest.cs (1)
2328bool enabled = (AuthenticationConfig.Mode != AuthenticationMode.None);
Security\FormsAuthentication.cs (2)
647AuthenticationConfig.Mode = AuthenticationMode.Forms; 662return AuthenticationConfig.Mode == AuthenticationMode.Forms;
Security\FormsAuthenticationModule.cs (1)
72_fAuthRequired = (AuthenticationConfig.Mode == AuthenticationMode.Forms);
Security\PassportAuthenticationModule.cs (1)
133_fAuthRequired = (AuthenticationConfig.Mode == AuthenticationMode.Passport);
Security\WindowsAuthenticationModule.cs (1)
174_fAuthRequired = (AuthenticationConfig.Mode == AuthenticationMode.Windows);