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