31 references to None
System (8)
net\System\Net\HttpListener.cs (8)
1380
AuthenticationSchemes headerScheme = AuthenticationSchemes.
None
;
1450
if (authorizationHeader != null && (authenticationScheme & ~AuthenticationSchemes.Anonymous) != AuthenticationSchemes.
None
)
1465
if ((authenticationScheme & AuthenticationSchemes.Negotiate) != AuthenticationSchemes.
None
&&
1470
else if ((authenticationScheme & AuthenticationSchemes.Ntlm) != AuthenticationSchemes.
None
&&
1475
else if ((authenticationScheme & AuthenticationSchemes.Digest) != AuthenticationSchemes.
None
&&
1480
else if ((authenticationScheme & AuthenticationSchemes.Basic) != AuthenticationSchemes.
None
&&
1497
if (headerScheme == AuthenticationSchemes.
None
)
1502
if ((authenticationScheme & AuthenticationSchemes.Anonymous) != AuthenticationSchemes.
None
)
System.ServiceModel (19)
System\ServiceModel\Activation\AspNetEnvironment.cs (1)
311
return AuthenticationSchemes.
None
;
System\ServiceModel\Channels\AuthenticationSchemesBindingParameter.cs (3)
12
AuthenticationSchemes authenticationSchemes = AuthenticationSchemes.
None
;
16
Fx.Assert(authenticationSchemes != AuthenticationSchemes.
None
, "AuthenticationSchemesBindingParameter should not be added for AuthenticationSchemes.None.");
29
authenticationSchemes = AuthenticationSchemes.
None
;
System\ServiceModel\Channels\HttpTransportBindingElement.cs (7)
427
return effectiveAuthenticationSchemes != AuthenticationSchemes.
None
&&
433
return effectiveAuthenticationSchemes != AuthenticationSchemes.
None
&&
585
if (this.authenticationScheme == AuthenticationSchemes.
None
)
614
if (currentAuthenticationSchemes == AuthenticationSchemes.
None
||
673
if (effectiveAutheSchemes == AuthenticationSchemes.
None
)
678
if (this.AuthenticationScheme == AuthenticationSchemes.
None
)
736
if (effectiveAuthenticationSchemes != AuthenticationSchemes.
None
&& !(effectiveAuthenticationSchemes.IsSet(AuthenticationSchemes.Anonymous)))
System\ServiceModel\Configuration\Properties.cs (1)
319
properties.Add(new ConfigurationProperty("authenticationSchemes", typeof(System.Net.AuthenticationSchemes), System.Net.AuthenticationSchemes.
None
, null, new System.ServiceModel.Configuration.StandardRuntimeFlagEnumValidator<System.Net.AuthenticationSchemes>(), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\ServiceAuthenticationElement.cs (2)
35
[ConfigurationProperty(ConfigurationStrings.AuthenticationSchemes, DefaultValue = AuthenticationSchemes.
None
)]
66
if (this.AuthenticationSchemes != AuthenticationSchemes.
None
)
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (2)
29
this.authenticationSchemes = AuthenticationSchemes.
None
;
102
if (this.authenticationSchemes != AuthenticationSchemes.
None
)
System\ServiceModel\HttpClientCredentialType.cs (1)
56
result = AuthenticationSchemes.
None
;
System\ServiceModel\ServiceHost.cs (2)
1012
if (hostSupportedAuthenticationSchemes != AuthenticationSchemes.
None
)
1015
if (this.Authentication.AuthenticationSchemes == AuthenticationSchemes.
None
)
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
439
if (hostSupportedAuthenticationSchemes != AuthenticationSchemes.
None
)
System\ServiceModel\Activation\MetabaseSettings.cs (1)
243
AuthenticationSchemes retValue = AuthenticationSchemes.
None
;
System.ServiceModel.Web (2)
System\ServiceModel\Web\WebServiceHost.cs (2)
56
AuthenticationSchemes supportedSchemes = AuthenticationSchemes.
None
;
145
else if (supportedSchemes != AuthenticationSchemes.
None
&& supportedSchemes != AuthenticationSchemes.Anonymous)