12 writes to ClientCredentialType
System.ServiceModel (4)
System\ServiceModel\Configuration\HttpTransportSecurityElement.cs (1)
65
security.
ClientCredentialType
= this.ClientCredentialType;
System\ServiceModel\Configuration\WSHttpTransportSecurityElement.cs (1)
63
security.
ClientCredentialType
= this.ClientCredentialType;
System\ServiceModel\HttpTransportSecurity.cs (1)
136
transportSecurity.
ClientCredentialType
= HttpClientCredentialType.Certificate;
System\ServiceModel\WSHttpSecurity.cs (1)
33
transportSecurity.
ClientCredentialType
= HttpClientCredentialType.Windows;
System.ServiceModel.Web (8)
System\ServiceModel\Configuration\WebHttpSecurityElement.cs (1)
75
security.
ClientCredentialType
= this.Transport.ClientCredentialType;
System\ServiceModel\Web\WebChannelFactory.cs (1)
97
result.Security.Transport.
ClientCredentialType
= HttpClientCredentialType.None;
System\ServiceModel\Web\WebServiceHost.cs (6)
354
whb.Security.Transport.
ClientCredentialType
= HttpClientCredentialType.Digest;
359
whb.Security.Transport.
ClientCredentialType
= HttpClientCredentialType.Windows;
362
whb.Security.Transport.
ClientCredentialType
= HttpClientCredentialType.Ntlm;
365
whb.Security.Transport.
ClientCredentialType
= HttpClientCredentialType.Basic;
368
whb.Security.Transport.
ClientCredentialType
= HttpClientCredentialType.None;
371
whb.Security.Transport.
ClientCredentialType
= HttpClientCredentialType.InheritedFromHost;
21 references to ClientCredentialType
System.ServiceModel (17)
System\ServiceModel\BasicHttpBinding.cs (2)
145
this.BasicHttpSecurity.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
147
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.HttpClientCredentialTypeInvalid, this.BasicHttpSecurity.Transport.
ClientCredentialType
)));
System\ServiceModel\BasicHttpsBinding.cs (2)
81
this.BasicHttpSecurity.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
83
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.HttpClientCredentialTypeInvalid, this.BasicHttpSecurity.Transport.
ClientCredentialType
)));
System\ServiceModel\Configuration\HttpTransportSecurityElement.cs (1)
77
SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCredentialType, security.
ClientCredentialType
);
System\ServiceModel\Configuration\WSHttpTransportSecurityElement.cs (1)
75
SetPropertyValueIfNotDefaultValue(ConfigurationStrings.ClientCredentialType, security.
ClientCredentialType
);
System\ServiceModel\HttpBindingBase.cs (3)
402
if ((transport != null) && ((transport.
ClientCredentialType
== HttpClientCredentialType.Certificate) || (transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)))
404
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.GetString(SR.UnsupportedSecuritySetting, "Transport.ClientCredentialType", transport.
ClientCredentialType
)));
System\ServiceModel\HttpTransportSecurity.cs (1)
177
return this.
ClientCredentialType
!= DefaultClientCredentialType;
System\ServiceModel\NetHttpBinding.cs (2)
119
this.BasicHttpSecurity.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
121
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.HttpClientCredentialTypeInvalid, this.BasicHttpSecurity.Transport.
ClientCredentialType
)));
System\ServiceModel\NetHttpsBinding.cs (2)
112
this.BasicHttpSecurity.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
114
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.HttpClientCredentialTypeInvalid, this.BasicHttpSecurity.Transport.
ClientCredentialType
)));
System\ServiceModel\WSHttpBinding.cs (2)
101
security.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
103
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.HttpClientCredentialTypeInvalid, security.Transport.
ClientCredentialType
)));
System\ServiceModel\WSHttpSecurity.cs (1)
152
return this.Transport.
ClientCredentialType
!= HttpClientCredentialType.Windows
System.ServiceModel.Web (4)
System\ServiceModel\Configuration\WebHttpSecurityElement.cs (2)
88
if (IsNonDefaultValue(this.Transport, ConfigurationStrings.ClientCredentialType, security.
ClientCredentialType
))
90
this.Transport.ClientCredentialType = security.
ClientCredentialType
;
System\ServiceModel\WebHttpBinding.cs (2)
208
security.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
210
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.HttpClientCredentialTypeInvalid, security.Transport.
ClientCredentialType
)));