29 references to HttpProxyCredentialType
System.ServiceModel.Http (23)
System\ServiceModel\HttpProxyCredentialType.cs (19)
21internal static bool IsDefined(HttpProxyCredentialType value) 23return (value == HttpProxyCredentialType.None || 24value == HttpProxyCredentialType.Basic || 25value == HttpProxyCredentialType.Digest || 26value == HttpProxyCredentialType.Ntlm || 27value == HttpProxyCredentialType.Windows); 30internal static AuthenticationSchemes MapToAuthenticationScheme(HttpProxyCredentialType proxyCredentialType) 35case HttpProxyCredentialType.None: 38case HttpProxyCredentialType.Basic: 41case HttpProxyCredentialType.Digest: 44case HttpProxyCredentialType.Ntlm: 47case HttpProxyCredentialType.Windows: 57internal static HttpProxyCredentialType MapToProxyCredentialType(AuthenticationSchemes authenticationSchemes) 59HttpProxyCredentialType result; 63result = HttpProxyCredentialType.None; 66result = HttpProxyCredentialType.Basic; 69result = HttpProxyCredentialType.Digest; 72result = HttpProxyCredentialType.Ntlm; 75result = HttpProxyCredentialType.Windows;
System\ServiceModel\HttpTransportSecurity.cs (4)
14internal const HttpProxyCredentialType DefaultProxyCredentialType = HttpProxyCredentialType.None; 18private HttpProxyCredentialType _proxyCredentialType; 44public HttpProxyCredentialType ProxyCredentialType
System.ServiceModel.Http.Tests (6)
ServiceModel\BasicHttpBindingTest.cs (6)
318[InlineData(HttpProxyCredentialType.Basic, AuthenticationSchemes.Basic)] 319[InlineData(HttpProxyCredentialType.Digest, AuthenticationSchemes.Digest)] 320[InlineData(HttpProxyCredentialType.None, AuthenticationSchemes.Anonymous)] 321[InlineData(HttpProxyCredentialType.Ntlm, AuthenticationSchemes.Ntlm)] 322[InlineData(HttpProxyCredentialType.Windows, AuthenticationSchemes.Negotiate)] 323public static void ProxyCredentialType_Propagates_To_TransportBindingElement(HttpProxyCredentialType credentialType, AuthenticationSchemes mappedAuthScheme)