44 references to HttpClientCredentialType
dotnet-svcutil-lib (44)
CodeDomFixup\MethodCreationHelper.cs (6)
362
new CodeTypeReferenceExpression(typeof(
HttpClientCredentialType
)),
503
new CodeTypeReferenceExpression(typeof(
HttpClientCredentialType
)),
592
new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(System.ServiceModel.
HttpClientCredentialType
)), "Basic")));
796
new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(System.ServiceModel.
HttpClientCredentialType
)), "Basic")));
1953
new CodeTypeReferenceExpression(typeof(
HttpClientCredentialType
)),
2070
new CodeTypeReferenceExpression(typeof(
HttpClientCredentialType
)),
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpBinding.cs (1)
107
BasicHttpSecurity.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsBinding.cs (1)
63
BasicHttpSecurity.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpBindingBase.cs (1)
328
if (transport?.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpClientCredentialType.cs (23)
23
internal static bool IsDefined(
HttpClientCredentialType
value)
25
return (value ==
HttpClientCredentialType
.None ||
26
value ==
HttpClientCredentialType
.Basic ||
27
value ==
HttpClientCredentialType
.Digest ||
28
value ==
HttpClientCredentialType
.Ntlm ||
29
value ==
HttpClientCredentialType
.Windows ||
30
value ==
HttpClientCredentialType
.Certificate ||
31
value ==
HttpClientCredentialType
.InheritedFromHost);
34
internal static AuthenticationSchemes MapToAuthenticationScheme(
HttpClientCredentialType
clientCredentialType)
39
case
HttpClientCredentialType
.Certificate:
41
case
HttpClientCredentialType
.None:
44
case
HttpClientCredentialType
.Basic:
47
case
HttpClientCredentialType
.Digest:
50
case
HttpClientCredentialType
.Ntlm:
53
case
HttpClientCredentialType
.Windows:
56
case
HttpClientCredentialType
.InheritedFromHost:
66
internal static
HttpClientCredentialType
MapToClientCredentialType(AuthenticationSchemes authenticationSchemes)
68
HttpClientCredentialType
result;
72
result =
HttpClientCredentialType
.None;
75
result =
HttpClientCredentialType
.Basic;
78
result =
HttpClientCredentialType
.Digest;
81
result =
HttpClientCredentialType
.Ntlm;
84
result =
HttpClientCredentialType
.Windows;
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpTransportSecurity.cs (8)
13
internal const
HttpClientCredentialType
DefaultClientCredentialType =
HttpClientCredentialType
.None;
16
private
HttpClientCredentialType
_clientCredentialType;
27
public
HttpClientCredentialType
ClientCredentialType
105
https.RequireClientCertificate = (_clientCredentialType ==
HttpClientCredentialType
.Certificate);
112
transportSecurity.ClientCredentialType =
HttpClientCredentialType
.Certificate;
117
if (_clientCredentialType ==
HttpClientCredentialType
.Certificate)
126
if (HttpClientCredentialTypeHelper.MapToClientCredentialType(http.AuthenticationScheme) ==
HttpClientCredentialType
.Certificate)
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (1)
116
this.BasicHttpSecurity.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpsBinding.cs (1)
73
BasicHttpSecurity.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBinding.cs (1)
82
_security.Transport.ClientCredentialType ==
HttpClientCredentialType
.InheritedFromHost)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpSecurity.cs (1)
34
transportSecurity.ClientCredentialType =
HttpClientCredentialType
.Windows;