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