10 writes to AuthenticationScheme
System.ServiceModel (10)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (5)
703this.AuthenticationScheme = effectiveAutheSchemes; 815this.AuthenticationScheme = AuthenticationSchemes.Basic; 818this.AuthenticationScheme = AuthenticationSchemes.Digest; 821this.AuthenticationScheme = AuthenticationSchemes.Negotiate; 824this.AuthenticationScheme = AuthenticationSchemes.Ntlm;
System\ServiceModel\Configuration\HttpTransportElement.cs (1)
183binding.AuthenticationScheme = this.AuthenticationScheme;
System\ServiceModel\HttpTransportSecurity.cs (2)
97http.AuthenticationScheme = HttpClientCredentialTypeHelper.MapToAuthenticationScheme(this.clientCredentialType); 113http.AuthenticationScheme = AuthenticationSchemes.Anonymous;
System\ServiceModel\Security\WSSecurityPolicy12.cs (2)
113httpsBinding.AuthenticationScheme = AuthenticationSchemes.Basic; 117httpsBinding.AuthenticationScheme = AuthenticationSchemes.Digest;
25 references to AuthenticationScheme
System.ServiceModel (25)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (1)
202instance.SetProperty(AdministrationStrings.AuthenticationScheme, http.AuthenticationScheme.ToString());
System\ServiceModel\Channels\HttpChannelFactory.cs (4)
100bindingElement.AuthenticationScheme != AuthenticationSchemes.Anonymous) 128if (!bindingElement.AuthenticationScheme.IsSingleton()) 131bindingElement.AuthenticationScheme)); 134this.authenticationScheme = bindingElement.AuthenticationScheme;
System\ServiceModel\Channels\HttpChannelListener.cs (3)
92if (bindingElement.AuthenticationScheme.IsSet(AuthenticationSchemes.Basic) && 93bindingElement.AuthenticationScheme.IsNotSet(AuthenticationSchemes.Digest | AuthenticationSchemes.Ntlm | AuthenticationSchemes.Negotiate) && 100this.authenticationScheme = bindingElement.AuthenticationScheme;
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (1)
148AuthenticationSchemes effectiveAuthenticationSchemes = HttpTransportBindingElement.GetEffectiveAuthenticationSchemes(this.AuthenticationScheme,
System\ServiceModel\Channels\HttpTransportBindingElement.cs (5)
495AuthenticationSchemes effectiveAuthenticationSchemes = HttpTransportBindingElement.GetEffectiveAuthenticationSchemes(this.AuthenticationScheme, 670AuthenticationSchemes effectiveAutheSchemes = HttpTransportBindingElement.GetEffectiveAuthenticationSchemes(this.AuthenticationScheme, 678if (this.AuthenticationScheme == AuthenticationSchemes.None) 700new NotSupportedException(SR.GetString(SR.AuthenticationSchemes_BindingAndHostConflict, hostSchemes, bindingName, this.AuthenticationScheme))); 733AuthenticationSchemes effectiveAuthenticationSchemes = HttpTransportBindingElement.GetEffectiveAuthenticationSchemes(this.AuthenticationScheme,
System\ServiceModel\Configuration\HttpTransportElement.cs (1)
245SetPropertyValueIfNotDefaultValue(ConfigurationStrings.AuthenticationScheme, source.AuthenticationScheme);
System\ServiceModel\HttpBindingBase.cs (1)
277Fx.Assert(http.AuthenticationScheme.IsSingleton(), "authenticationScheme used in an Http(s)ChannelFactory must be a singleton value.");
System\ServiceModel\HttpTransportSecurity.cs (3)
105transportSecurity.clientCredentialType = HttpClientCredentialTypeHelper.MapToClientCredentialType(http.AuthenticationScheme); 123return http.AuthenticationScheme == AuthenticationSchemes.Anonymous && http.ProxyAuthenticationScheme == AuthenticationSchemes.Anonymous && http.Realm == DefaultRealm; 150if (HttpClientCredentialTypeHelper.MapToClientCredentialType(http.AuthenticationScheme) == HttpClientCredentialType.Certificate)
System\ServiceModel\Security\WSSecurityPolicy12.cs (5)
54Fx.Assert(httpsBinding.AuthenticationScheme.IsSingleton(), "authenticationScheme must be a singleton value for security-mode TransportWithMessageCredential."); 58httpsBinding.AuthenticationScheme == AuthenticationSchemes.Basic || 59httpsBinding.AuthenticationScheme == AuthenticationSchemes.Digest) 66if (httpsBinding.AuthenticationScheme == AuthenticationSchemes.Basic) 70else if (httpsBinding.AuthenticationScheme == AuthenticationSchemes.Digest)
System\ServiceModel\WSHttpBindingBase.cs (1)
365if (!transport.AuthenticationScheme.IsSingleton())