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