e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
18 lines
590 B
C#
18 lines
590 B
C#
//------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------
|
|
namespace System.ServiceModel
|
|
{
|
|
using System.ServiceModel.Channels;
|
|
|
|
static class WebHttpSecurityModeHelper
|
|
{
|
|
internal static bool IsDefined(WebHttpSecurityMode value)
|
|
{
|
|
return (value == WebHttpSecurityMode.None ||
|
|
value == WebHttpSecurityMode.Transport ||
|
|
value == WebHttpSecurityMode.TransportCredentialOnly);
|
|
}
|
|
}
|
|
}
|