29 references to HttpProxyCredentialType
System.ServiceModel.Http (23)
System\ServiceModel\HttpProxyCredentialType.cs (19)
21
internal static bool IsDefined(
HttpProxyCredentialType
value)
23
return (value ==
HttpProxyCredentialType
.None ||
24
value ==
HttpProxyCredentialType
.Basic ||
25
value ==
HttpProxyCredentialType
.Digest ||
26
value ==
HttpProxyCredentialType
.Ntlm ||
27
value ==
HttpProxyCredentialType
.Windows);
30
internal static AuthenticationSchemes MapToAuthenticationScheme(
HttpProxyCredentialType
proxyCredentialType)
35
case
HttpProxyCredentialType
.None:
38
case
HttpProxyCredentialType
.Basic:
41
case
HttpProxyCredentialType
.Digest:
44
case
HttpProxyCredentialType
.Ntlm:
47
case
HttpProxyCredentialType
.Windows:
57
internal static
HttpProxyCredentialType
MapToProxyCredentialType(AuthenticationSchemes authenticationSchemes)
59
HttpProxyCredentialType
result;
63
result =
HttpProxyCredentialType
.None;
66
result =
HttpProxyCredentialType
.Basic;
69
result =
HttpProxyCredentialType
.Digest;
72
result =
HttpProxyCredentialType
.Ntlm;
75
result =
HttpProxyCredentialType
.Windows;
System\ServiceModel\HttpTransportSecurity.cs (4)
14
internal const
HttpProxyCredentialType
DefaultProxyCredentialType =
HttpProxyCredentialType
.None;
18
private
HttpProxyCredentialType
_proxyCredentialType;
44
public
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)]
323
public static void ProxyCredentialType_Propagates_To_TransportBindingElement(
HttpProxyCredentialType
credentialType, AuthenticationSchemes mappedAuthScheme)