21 references to WebHttpSecurityMode
System.ServiceModel.Web (21)
System\ServiceModel\Configuration\WebHttpSecurityElement.cs (4)
17
public
WebHttpSecurityMode
Mode
19
get { return (
WebHttpSecurityMode
)base[ConfigurationStrings.Mode]; }
37
properties.Add(new ConfigurationProperty("mode", typeof(
WebHttpSecurityMode
), System.ServiceModel.
WebHttpSecurityMode
.None, null, new InternalEnumValidator(typeof(WebHttpSecurityModeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Web\WebChannelFactory.cs (1)
96
result.Security.Mode =
WebHttpSecurityMode
.Transport;
System\ServiceModel\Web\WebServiceHost.cs (3)
143
binding.Security.Mode =
WebHttpSecurityMode
.Transport;
147
binding.Security.Mode =
WebHttpSecurityMode
.TransportCredentialOnly;
151
binding.Security.Mode =
WebHttpSecurityMode
.None;
System\ServiceModel\WebHttpBinding.cs (5)
33
public WebHttpBinding(
WebHttpSecurityMode
securityMode) : base()
206
if ((security.Mode ==
WebHttpSecurityMode
.Transport ||
207
security.Mode ==
WebHttpSecurityMode
.TransportCredentialOnly) &&
248
if (security.Mode ==
WebHttpSecurityMode
.Transport)
253
else if (security.Mode ==
WebHttpSecurityMode
.TransportCredentialOnly)
System\ServiceModel\WebHttpSecurity.cs (4)
12
internal const
WebHttpSecurityMode
DefaultMode =
WebHttpSecurityMode
.None;
13
WebHttpSecurityMode
mode;
22
public
WebHttpSecurityMode
Mode
System\ServiceModel\WebHttpSecurityModeHelper.cs (4)
10
internal static bool IsDefined(
WebHttpSecurityMode
value)
12
return (value ==
WebHttpSecurityMode
.None ||
13
value ==
WebHttpSecurityMode
.Transport ||
14
value ==
WebHttpSecurityMode
.TransportCredentialOnly);