298 references to AuthenticationSchemes
System (45)
net\System\Net\AuthenticationSchemeSelector.cs (1)
9public delegate AuthenticationSchemes AuthenticationSchemeSelector(HttpListenerRequest httpRequest);
net\System\Net\HttpListener.cs (42)
340private AuthenticationSchemes m_AuthenticationScheme = AuthenticationSchemes.Anonymous; 433public AuthenticationSchemes AuthenticationSchemes { 441if ((value & (AuthenticationSchemes.Digest | AuthenticationSchemes.Negotiate | AuthenticationSchemes.Ntlm)) != 0) 1380AuthenticationSchemes headerScheme = AuthenticationSchemes.None; 1381AuthenticationSchemes authenticationScheme = AuthenticationSchemes; 1410(authenticationScheme & (AuthenticationSchemes.Negotiate | AuthenticationSchemes.Ntlm | AuthenticationSchemes.Digest)) != 0) 1450if (authorizationHeader != null && (authenticationScheme & ~AuthenticationSchemes.Anonymous) != AuthenticationSchemes.None) 1465if ((authenticationScheme & AuthenticationSchemes.Negotiate) != AuthenticationSchemes.None && 1468headerScheme = AuthenticationSchemes.Negotiate; 1470else if ((authenticationScheme & AuthenticationSchemes.Ntlm) != AuthenticationSchemes.None && 1473headerScheme = AuthenticationSchemes.Ntlm; 1475else if ((authenticationScheme & AuthenticationSchemes.Digest) != AuthenticationSchemes.None && 1478headerScheme = AuthenticationSchemes.Digest; 1480else if ((authenticationScheme & AuthenticationSchemes.Basic) != AuthenticationSchemes.None && 1483headerScheme = AuthenticationSchemes.Basic; 1497if (headerScheme == AuthenticationSchemes.None) 1502if ((authenticationScheme & AuthenticationSchemes.Anonymous) != AuthenticationSchemes.None) 1539case AuthenticationSchemes.Digest: 1621case AuthenticationSchemes.Negotiate: 1622case AuthenticationSchemes.Ntlm: 1626string package = headerScheme == AuthenticationSchemes.Ntlm ? NtlmClient.AuthType : NegotiateClient.AuthType; 1736challenge = (headerScheme==AuthenticationSchemes.Ntlm ? NtlmClient.AuthType : NegotiateClient.AuthType); 1745case AuthenticationSchemes.Basic: 1882if ((authenticationScheme & AuthenticationSchemes.Digest) != 0) 1949if ((authenticationScheme & AuthenticationSchemes.Digest) != 0) 2225private ArrayList BuildChallenge(AuthenticationSchemes authenticationScheme, ulong connectionId, 2232if ((authenticationScheme & AuthenticationSchemes.Negotiate) != 0) 2237if ((authenticationScheme & AuthenticationSchemes.Ntlm) != 0) 2242if ((authenticationScheme & AuthenticationSchemes.Digest) != 0) 2275if ((authenticationScheme & AuthenticationSchemes.Basic) != 0)
net\System\Net\HttpListenerContext.cs (2)
27private AuthenticationSchemes m_AuthenticationSchemes; 85internal AuthenticationSchemes AuthenticationSchemes {
System.ServiceModel (207)
System\ServiceModel\Activation\AspNetEnvironment.cs (3)
198public virtual void ValidateHttpSettings(string virtualPath, bool isMetadataListener, bool usingDefaultSpnList, ref AuthenticationSchemes supportedSchemes, ref ExtendedProtectionPolicy extendedProtectionPolicy, ref string realm) 308public virtual AuthenticationSchemes GetAuthenticationSchemes(Uri baseAddress) 311return AuthenticationSchemes.None;
System\ServiceModel\Channels\AuthenticationSchemesBindingParameter.cs (7)
12AuthenticationSchemes authenticationSchemes = AuthenticationSchemes.None; 14public AuthenticationSchemesBindingParameter(AuthenticationSchemes authenticationSchemes) 16Fx.Assert(authenticationSchemes != AuthenticationSchemes.None, "AuthenticationSchemesBindingParameter should not be added for AuthenticationSchemes.None."); 21public AuthenticationSchemes AuthenticationSchemes 26public static bool TryExtract(BindingParameterCollection collection, out AuthenticationSchemes authenticationSchemes) 29authenticationSchemes = AuthenticationSchemes.None;
System\ServiceModel\Channels\AuthenticationSchemesHelper.cs (18)
13public static bool DoesAuthTypeMatch(AuthenticationSchemes authScheme, string authType) 17return authScheme.IsSet(AuthenticationSchemes.Anonymous); 23return authScheme.IsSet(AuthenticationSchemes.Negotiate); 27return authScheme.IsSet(AuthenticationSchemes.Negotiate) || 28authScheme.IsSet(AuthenticationSchemes.Ntlm); 31AuthenticationSchemes authTypeScheme; 32if (!Enum.TryParse<AuthenticationSchemes>(authType, true, out authTypeScheme)) 40public static bool IsSingleton(this AuthenticationSchemes v) 45case AuthenticationSchemes.Digest: 46case AuthenticationSchemes.Negotiate: 47case AuthenticationSchemes.Ntlm: 48case AuthenticationSchemes.Basic: 49case AuthenticationSchemes.Anonymous: 59public static bool IsSet(this AuthenticationSchemes thisPtr, AuthenticationSchemes authenticationSchemes) 64public static bool IsNotSet(this AuthenticationSchemes thisPtr, AuthenticationSchemes authenticationSchemes) 69internal static string ToString(AuthenticationSchemes authScheme)
System\ServiceModel\Channels\HttpChannelFactory.cs (25)
43AuthenticationSchemes authenticationScheme; 100bindingElement.AuthenticationScheme != AuthenticationSchemes.Anonymous) 151if (bindingElement.ProxyAuthenticationScheme == AuthenticationSchemes.Anonymous) 207public AuthenticationSchemes AuthenticationScheme 393SecurityTokenProviderContainer CreateAndOpenTokenProvider(TimeSpan timeout, AuthenticationSchemes authenticationScheme, 399case AuthenticationSchemes.Anonymous: 401case AuthenticationSchemes.Basic: 404case AuthenticationSchemes.Negotiate: 405case AuthenticationSchemes.Ntlm: 408case AuthenticationSchemes.Digest: 506if (this.AuthenticationScheme != AuthenticationSchemes.Anonymous) 510if (this.proxyFactory != null && this.proxyFactory.AuthenticationScheme != AuthenticationSchemes.Anonymous) 621internal static bool IsWindowsAuth(AuthenticationSchemes authScheme) 625return authScheme == AuthenticationSchemes.Negotiate || 626authScheme == AuthenticationSchemes.Ntlm; 789if (AuthenticationScheme == AuthenticationSchemes.Basic) 895internal static bool MapIdentity(EndpointAddress target, AuthenticationSchemes authenticationScheme) 1954if (factory.AuthenticationScheme == AuthenticationSchemes.Anonymous) 1959else if (factory.AuthenticationScheme == AuthenticationSchemes.Basic) 2019if (factory.AuthenticationScheme == AuthenticationSchemes.Digest) 2023else if (factory.AuthenticationScheme == AuthenticationSchemes.Ntlm) 2118AuthenticationSchemes authenticationScheme; 2120public WebProxyFactory(Uri address, bool bypassOnLocal, AuthenticationSchemes authenticationScheme) 2134internal AuthenticationSchemes AuthenticationScheme 2146if (this.authenticationScheme != AuthenticationSchemes.Anonymous)
System\ServiceModel\Channels\HttpChannelHelpers.cs (7)
3435public static NetworkCredential GetCredential(AuthenticationSchemes authenticationScheme, 3444if (authenticationScheme != AuthenticationSchemes.Anonymous) 3453static NetworkCredential GetCredentialCore(AuthenticationSchemes authenticationScheme, 3464case AuthenticationSchemes.Basic: 3469case AuthenticationSchemes.Digest: 3476case AuthenticationSchemes.Negotiate: 3481case AuthenticationSchemes.Ntlm:
System\ServiceModel\Channels\HttpChannelListener.cs (17)
38AuthenticationSchemes authenticationScheme; 92if (bindingElement.AuthenticationScheme.IsSet(AuthenticationSchemes.Basic) && 93bindingElement.AuthenticationScheme.IsNotSet(AuthenticationSchemes.Digest | AuthenticationSchemes.Ntlm | AuthenticationSchemes.Negotiate) && 190public AuthenticationSchemes AuthenticationScheme 227return this.authenticationScheme != AuthenticationSchemes.Anonymous; 235return this.AuthenticationScheme.IsNotSet(AuthenticationSchemes.Anonymous); 381if (this.authenticationScheme.IsSet(AuthenticationSchemes.Negotiate) || 382this.authenticationScheme.IsSet(AuthenticationSchemes.Ntlm)) 420if (this.AuthenticationScheme == AuthenticationSchemes.Basic) 427if (this.AuthenticationScheme.IsSet(AuthenticationSchemes.Basic) && 432(AuthenticationSchemes)authenticationScheme - AuthenticationSchemes.Basic, 560if (this.AuthenticationScheme.IsSet(AuthenticationSchemes.Basic) 720static ExtendedProtectionPolicy GetPolicyWithDefaultSpnCollection(ExtendedProtectionPolicy policy, AuthenticationSchemes authenticationScheme, HostNameComparisonMode hostNameComparisonMode, Uri listenUri, out bool usingDefaultSpnList) 725authenticationScheme != AuthenticationSchemes.Anonymous && //SPN list only needed with authentication (mixed mode uses own default list)
System\ServiceModel\Channels\HttpsChannelListener.cs (5)
73this.AuthenticationScheme.IsNotSet(AuthenticationSchemes.Anonymous)) 202else if (this.AuthenticationScheme == AuthenticationSchemes.Anonymous) 230else if (this.AuthenticationScheme == AuthenticationSchemes.Anonymous) 263else if (this.AuthenticationScheme == AuthenticationSchemes.Anonymous) 291else if (this.AuthenticationScheme == AuthenticationSchemes.Anonymous)
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (3)
66internal override bool GetSupportsClientAuthenticationImpl(AuthenticationSchemes effectiveAuthenticationSchemes) 71internal override bool GetSupportsClientWindowsIdentityImpl(AuthenticationSchemes effectiveAuthenticationSchemes) 148AuthenticationSchemes effectiveAuthenticationSchemes = HttpTransportBindingElement.GetEffectiveAuthenticationSchemes(this.AuthenticationScheme,
System\ServiceModel\Channels\HttpTransportBindingElement.cs (36)
24AuthenticationSchemes authenticationScheme; 34AuthenticationSchemes proxyAuthenticationScheme; 116public AuthenticationSchemes AuthenticationScheme 320public AuthenticationSchemes ProxyAuthenticationScheme 425internal virtual bool GetSupportsClientAuthenticationImpl(AuthenticationSchemes effectiveAuthenticationSchemes) 427return effectiveAuthenticationSchemes != AuthenticationSchemes.None && 428effectiveAuthenticationSchemes.IsNotSet(AuthenticationSchemes.Anonymous); 431internal virtual bool GetSupportsClientWindowsIdentityImpl(AuthenticationSchemes effectiveAuthenticationSchemes) 433return effectiveAuthenticationSchemes != AuthenticationSchemes.None && 434effectiveAuthenticationSchemes.IsNotSet(AuthenticationSchemes.Anonymous); 495AuthenticationSchemes effectiveAuthenticationSchemes = HttpTransportBindingElement.GetEffectiveAuthenticationSchemes(this.AuthenticationScheme, 499effectiveAuthenticationSchemes == AuthenticationSchemes.Negotiate, 585if (this.authenticationScheme == AuthenticationSchemes.None) 599internal static AuthenticationSchemes GetEffectiveAuthenticationSchemes(AuthenticationSchemes currentAuthenticationSchemes, 607AuthenticationSchemes hostSupportedAuthenticationSchemes; 614if (currentAuthenticationSchemes == AuthenticationSchemes.None || 616currentAuthenticationSchemes == AuthenticationSchemes.Anonymous && 617hostSupportedAuthenticationSchemes.IsNotSet(AuthenticationSchemes.Anonymous))) 624hostSupportedAuthenticationSchemes.IsSet(AuthenticationSchemes.Anonymous) && 630hostSupportedAuthenticationSchemes ^= AuthenticationSchemes.Anonymous; 670AuthenticationSchemes effectiveAutheSchemes = HttpTransportBindingElement.GetEffectiveAuthenticationSchemes(this.AuthenticationScheme, 673if (effectiveAutheSchemes == AuthenticationSchemes.None) 678if (this.AuthenticationScheme == AuthenticationSchemes.None) 689AuthenticationSchemes hostSchemes; 733AuthenticationSchemes effectiveAuthenticationSchemes = HttpTransportBindingElement.GetEffectiveAuthenticationSchemes(this.AuthenticationScheme, 736if (effectiveAuthenticationSchemes != AuthenticationSchemes.None && !(effectiveAuthenticationSchemes.IsSet(AuthenticationSchemes.Anonymous))) 741if (effectiveAuthenticationSchemes.IsSet(AuthenticationSchemes.Negotiate)) 746if (effectiveAuthenticationSchemes.IsSet(AuthenticationSchemes.Ntlm)) 751if (effectiveAuthenticationSchemes.IsSet(AuthenticationSchemes.Digest)) 756if (effectiveAuthenticationSchemes.IsSet(AuthenticationSchemes.Basic)) 815this.AuthenticationScheme = AuthenticationSchemes.Basic; 818this.AuthenticationScheme = AuthenticationSchemes.Digest; 821this.AuthenticationScheme = AuthenticationSchemes.Negotiate; 824this.AuthenticationScheme = AuthenticationSchemes.Ntlm;
System\ServiceModel\Channels\SharedHttpTransportManager.cs (3)
636AuthenticationSchemes SelectAuthenticationScheme(HttpListenerRequest request) 640AuthenticationSchemes result; 653result = AuthenticationSchemes.Anonymous;
System\ServiceModel\Channels\TransportDefaults.cs (4)
333internal const AuthenticationSchemes AuthenticationScheme = AuthenticationSchemes.Anonymous; 339internal const AuthenticationSchemes ProxyAuthenticationScheme = AuthenticationSchemes.Anonymous;
System\ServiceModel\Channels\TransportSecurityHelpers.cs (3)
365SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme, ChannelParameterCollection channelParameters) 406string transportScheme, AuthenticationSchemes authenticationScheme, ChannelParameterCollection channelParameters) 519SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme,
System\ServiceModel\Configuration\HttpTransportElement.cs (6)
44[StandardRuntimeFlagEnumValidator(typeof(AuthenticationSchemes))] 45public AuthenticationSchemes AuthenticationScheme 47get { return (AuthenticationSchemes)base[ConfigurationStrings.AuthenticationScheme]; } 117[StandardRuntimeEnumValidator(typeof(AuthenticationSchemes))] 118public AuthenticationSchemes ProxyAuthenticationScheme 120get { return (AuthenticationSchemes)base[ConfigurationStrings.ProxyAuthenticationScheme]; }
System\ServiceModel\Configuration\Properties.cs (9)
319properties.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)); 1361properties.Add(new ConfigurationProperty("authenticationScheme", typeof(System.Net.AuthenticationSchemes), System.Net.AuthenticationSchemes.Anonymous, null, new System.ServiceModel.Configuration.StandardRuntimeFlagEnumValidator<System.Net.AuthenticationSchemes>(), System.Configuration.ConfigurationPropertyOptions.None)); 1370properties.Add(new ConfigurationProperty("proxyAuthenticationScheme", typeof(System.Net.AuthenticationSchemes), System.Net.AuthenticationSchemes.Anonymous, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Net.AuthenticationSchemes)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\ServiceAuthenticationElement.cs (5)
35[ConfigurationProperty(ConfigurationStrings.AuthenticationSchemes, DefaultValue = AuthenticationSchemes.None)] 36[StandardRuntimeFlagEnumValidator(typeof(AuthenticationSchemes))] 37public AuthenticationSchemes AuthenticationSchemes 39get { return (AuthenticationSchemes)base[ConfigurationStrings.AuthenticationSchemes]; } 66if (this.AuthenticationSchemes != AuthenticationSchemes.None)
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (4)
21AuthenticationSchemes authenticationSchemes; 29this.authenticationSchemes = AuthenticationSchemes.None; 55public AuthenticationSchemes AuthenticationSchemes 102if (this.authenticationSchemes != AuthenticationSchemes.None)
System\ServiceModel\HttpClientCredentialType.cs (14)
33internal static AuthenticationSchemes MapToAuthenticationScheme(HttpClientCredentialType clientCredentialType) 35AuthenticationSchemes result; 41result = AuthenticationSchemes.Anonymous; 44result = AuthenticationSchemes.Basic; 47result = AuthenticationSchemes.Digest; 50result = AuthenticationSchemes.Ntlm; 53result = AuthenticationSchemes.Negotiate; 56result = AuthenticationSchemes.None; 65internal static HttpClientCredentialType MapToClientCredentialType(AuthenticationSchemes authenticationSchemes) 70case AuthenticationSchemes.Anonymous: 73case AuthenticationSchemes.Basic: 76case AuthenticationSchemes.Digest: 79case AuthenticationSchemes.Ntlm: 82case AuthenticationSchemes.Negotiate:
System\ServiceModel\HttpProxyCredentialType.cs (13)
29internal static AuthenticationSchemes MapToAuthenticationScheme(HttpProxyCredentialType proxyCredentialType) 31AuthenticationSchemes result; 35result = AuthenticationSchemes.Anonymous; 38result = AuthenticationSchemes.Basic; 41result = AuthenticationSchemes.Digest; 44result = AuthenticationSchemes.Ntlm; 47result = AuthenticationSchemes.Negotiate; 56internal static HttpProxyCredentialType MapToProxyCredentialType(AuthenticationSchemes authenticationSchemes) 61case AuthenticationSchemes.Anonymous: 64case AuthenticationSchemes.Basic: 67case AuthenticationSchemes.Digest: 70case AuthenticationSchemes.Ntlm: 73case AuthenticationSchemes.Negotiate:
System\ServiceModel\HttpTransportSecurity.cs (4)
113http.AuthenticationScheme = AuthenticationSchemes.Anonymous; 114http.ProxyAuthenticationScheme = AuthenticationSchemes.Anonymous; 123return http.AuthenticationScheme == AuthenticationSchemes.Anonymous && http.ProxyAuthenticationScheme == AuthenticationSchemes.Anonymous && http.Realm == DefaultRealm;
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (3)
336AuthenticationSchemes authScheme = (AuthenticationSchemes)requirement.Properties[ServiceModelSecurityTokenRequirement.HttpAuthenticationSchemeProperty]; 343return (authScheme == AuthenticationSchemes.Digest);
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (9)
416AuthenticationSchemes authenticationScheme; 417bool authenticationSchemeIdentified = recipientRequirement.TryGetProperty<AuthenticationSchemes>(ServiceModelSecurityTokenRequirement.HttpAuthenticationSchemeProperty, out authenticationScheme); 419authenticationScheme.IsSet(AuthenticationSchemes.Basic) && 420authenticationScheme.IsNotSet(AuthenticationSchemes.Digest | AuthenticationSchemes.Ntlm | AuthenticationSchemes.Negotiate)) 428authenticationScheme.IsSet(AuthenticationSchemes.Basic) && 433(AuthenticationSchemes)authenticationScheme - AuthenticationSchemes.Basic,
System\ServiceModel\Security\WSSecurityPolicy12.cs (6)
58httpsBinding.AuthenticationScheme == AuthenticationSchemes.Basic || 59httpsBinding.AuthenticationScheme == AuthenticationSchemes.Digest) 66if (httpsBinding.AuthenticationScheme == AuthenticationSchemes.Basic) 70else if (httpsBinding.AuthenticationScheme == AuthenticationSchemes.Digest) 113httpsBinding.AuthenticationScheme = AuthenticationSchemes.Basic; 117httpsBinding.AuthenticationScheme = AuthenticationSchemes.Digest;
System\ServiceModel\ServiceHost.cs (3)
1010AuthenticationSchemes hostSupportedAuthenticationSchemes = AspNetEnvironment.Current.GetAuthenticationSchemes(this.baseAddresses[serviceEndpoint.ListenUri.Scheme]); 1012if (hostSupportedAuthenticationSchemes != AuthenticationSchemes.None) 1015if (this.Authentication.AuthenticationSchemes == AuthenticationSchemes.None)
System.ServiceModel.Activation (23)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (10)
231public override void ValidateHttpSettings(string virtualPath, bool isMetadataListener, bool usingDefaultSpnList, ref AuthenticationSchemes bindingElementAuthenticationSchemes, ref ExtendedProtectionPolicy extendedProtectionPolicy, ref string realm) 234AuthenticationSchemes hostSupportedSchemes = HostedTransportConfigurationManager.MetabaseSettings.GetAuthenticationSchemes(virtualPath); 238if (bindingElementAuthenticationSchemes == AuthenticationSchemes.Negotiate || 239bindingElementAuthenticationSchemes == AuthenticationSchemes.Ntlm || 240bindingElementAuthenticationSchemes == AuthenticationSchemes.IntegratedWindowsAuthentication) 253if (bindingElementAuthenticationSchemes != AuthenticationSchemes.Anonymous) 437AuthenticationSchemes hostSupportedAuthenticationSchemes = AspNetEnvironment.Current.GetAuthenticationSchemes(listenUri); 439if (hostSupportedAuthenticationSchemes != AuthenticationSchemes.None) 513public override AuthenticationSchemes GetAuthenticationSchemes(Uri baseAddress) 528AuthenticationSchemes supportedSchemes = HostedTransportConfigurationManager.MetabaseSettings.GetAuthenticationSchemes(completePath);
System\ServiceModel\Activation\MetabaseSettings.cs (13)
39internal abstract AuthenticationSchemes GetAuthenticationSchemes(string virtualPath); 174internal override AuthenticationSchemes GetAuthenticationSchemes(string virtualPath) 178return AuthenticationSchemes.Anonymous | AuthenticationSchemes.Ntlm; 226internal override AuthenticationSchemes GetAuthenticationSchemes(string virtualPath) 240AuthenticationSchemes RemapAuthenticationSchemes(AuthFlags flags, string[] providers) 243AuthenticationSchemes retValue = AuthenticationSchemes.None; 246retValue = retValue | AuthenticationSchemes.Anonymous; 250retValue = retValue | AuthenticationSchemes.Basic; 254retValue = retValue | AuthenticationSchemes.Digest; 263retValue = retValue | AuthenticationSchemes.Negotiate; 267retValue = retValue | AuthenticationSchemes.Ntlm;
System.ServiceModel.Web (23)
System\ServiceModel\Web\AutomaticEndpointGenerator.cs (8)
44AuthenticationSchemes supportedSchemes = GetAuthenticationSchemes(baseAddress); 63protected abstract void ConfigureBinding(Binding binding, string uriScheme, AuthenticationSchemes supportedAuthenticationSchemes, bool hostedEnvironment); 65private static AuthenticationSchemes GetAuthenticationSchemes(Uri baseAddress) 67AuthenticationSchemes supportedSchemes = AspNetEnvironment.Current.GetAuthenticationSchemes(baseAddress); 73if (supportedSchemes == (AuthenticationSchemes.Anonymous | AuthenticationSchemes.Ntlm)) 77supportedSchemes = AuthenticationSchemes.Ntlm; 81supportedSchemes = AuthenticationSchemes.Anonymous;
System\ServiceModel\Web\WebServiceHost.cs (15)
56AuthenticationSchemes supportedSchemes = AuthenticationSchemes.None; 65if (supportedSchemes == (AuthenticationSchemes.Anonymous | AuthenticationSchemes.Ntlm)) 69supportedSchemes = AuthenticationSchemes.Ntlm; 73supportedSchemes = AuthenticationSchemes.Anonymous; 145else if (supportedSchemes != AuthenticationSchemes.None && supportedSchemes != AuthenticationSchemes.Anonymous) 346static void SetBindingCredentialBasedOnHostedEnvironment(ServiceEndpoint serviceEndpoint, AuthenticationSchemes supportedSchemes) 353case AuthenticationSchemes.Digest: 356case AuthenticationSchemes.IntegratedWindowsAuthentication: 358case AuthenticationSchemes.Negotiate: 361case AuthenticationSchemes.Ntlm: 364case AuthenticationSchemes.Basic: 367case AuthenticationSchemes.Anonymous: