70 references to HttpClientCredentialType
Binding.WS.FederationHttp.IntegrationTests (3)
WSFederationHttpBindingTests.cs (3)
41
issuerBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Basic;
101
issuerBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Basic;
152
issuerBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Basic;
Security.TransportSecurity.IntegrationTests (26)
Http\ClientCredentialTypeTests.4.1.0.cs (4)
28
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Digest;
89
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Digest;
146
basicHttpBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
157
basicHttpBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
Https\ClientCredentialTypeTests.4.1.0.cs (6)
47
basicHttpBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Basic;
122
basicHttpBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Basic;
182
basicHttpBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Basic;
218
basicHttpBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Digest;
235
basicHttpBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Ntlm;
246
basicHttpBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
Https\HttpsTests.4.1.0.cs (5)
37
basicHttpsBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Certificate;
369
basicHttpsBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Certificate;
418
basicHttpsBinding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Certificate;
478
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Certificate;
537
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Certificate;
Https\HttpsTests.4.1.1.cs (4)
36
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.None;
88
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.None;
146
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.None;
192
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.None;
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (7)
76
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
130
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
181
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
231
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
275
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
327
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
377
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
System.ServiceModel.Http (38)
System\ServiceModel\BasicHttpBinding.cs (1)
56
BasicHttpSecurity.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
System\ServiceModel\BasicHttpsBinding.cs (1)
55
BasicHttpSecurity.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
System\ServiceModel\HttpBindingBase.cs (1)
319
if (transport != null && transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
System\ServiceModel\HttpClientCredentialType.cs (23)
24
internal static bool IsDefined(
HttpClientCredentialType
value)
26
return (value ==
HttpClientCredentialType
.None ||
27
value ==
HttpClientCredentialType
.Basic ||
28
value ==
HttpClientCredentialType
.Digest ||
29
value ==
HttpClientCredentialType
.Ntlm ||
30
value ==
HttpClientCredentialType
.Windows ||
31
value ==
HttpClientCredentialType
.Certificate ||
32
value ==
HttpClientCredentialType
.InheritedFromHost);
35
internal static AuthenticationSchemes MapToAuthenticationScheme(
HttpClientCredentialType
clientCredentialType)
40
case
HttpClientCredentialType
.Certificate:
42
case
HttpClientCredentialType
.None:
45
case
HttpClientCredentialType
.Basic:
48
case
HttpClientCredentialType
.Digest:
51
case
HttpClientCredentialType
.Ntlm:
54
case
HttpClientCredentialType
.Windows:
57
case
HttpClientCredentialType
.InheritedFromHost:
67
internal static
HttpClientCredentialType
MapToClientCredentialType(AuthenticationSchemes authenticationSchemes)
69
HttpClientCredentialType
result;
73
result =
HttpClientCredentialType
.None;
76
result =
HttpClientCredentialType
.Basic;
79
result =
HttpClientCredentialType
.Digest;
82
result =
HttpClientCredentialType
.Ntlm;
86
result =
HttpClientCredentialType
.Windows;
System\ServiceModel\HttpTransportSecurity.cs (8)
13
internal const
HttpClientCredentialType
DefaultClientCredentialType =
HttpClientCredentialType
.None;
17
private
HttpClientCredentialType
_clientCredentialType;
30
public
HttpClientCredentialType
ClientCredentialType
123
https.RequireClientCertificate = (_clientCredentialType ==
HttpClientCredentialType
.Certificate);
131
transportSecurity.ClientCredentialType =
HttpClientCredentialType
.Certificate;
137
if (_clientCredentialType ==
HttpClientCredentialType
.Certificate)
146
if (HttpClientCredentialTypeHelper.MapToClientCredentialType(http.AuthenticationScheme) ==
HttpClientCredentialType
.Certificate)
System\ServiceModel\NetHttpBinding.cs (1)
96
BasicHttpSecurity.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
System\ServiceModel\NetHttpsBinding.cs (1)
88
BasicHttpSecurity.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
System\ServiceModel\WSHttpBinding.cs (1)
53
_security.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
System\ServiceModel\WSHttpSecurity.cs (1)
30
ClientCredentialType =
HttpClientCredentialType
.Windows
System.ServiceModel.Http.Tests (3)
ServiceModel\BasicHttpsBindingTest.cs (1)
71
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Certificate;
ServiceModel\HttpIdentityTests.cs (2)
17
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;
29
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType
.Windows;