65 references to SecurityTokenInclusionMode
dotnet-svcutil-lib (65)
CodeDomFixup\EndpointSelector.cs (2)
304
if (userNameParams.InclusionMode !=
SecurityTokenInclusionMode
.AlwaysToRecipient)
307
userNameParams.InclusionMode,
SecurityTokenInclusionMode
.AlwaysToRecipient));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (24)
522
SecurityTokenInclusionMode
.Never, false),
525
SecurityTokenInclusionMode
.AlwaysToRecipient, false));
557
SecurityTokenInclusionMode
.Never,
561
SecurityTokenInclusionMode
.AlwaysToRecipient, false),
569
SecurityTokenInclusionMode
.Never));
573
SecurityTokenInclusionMode
.AlwaysToRecipient,
593
if (recipient == null || (recipient.X509ReferenceStyle != X509KeyIdentifierClauseType.Any && recipient.X509ReferenceStyle != X509KeyIdentifierClauseType.Thumbprint) || recipient.InclusionMode !=
SecurityTokenInclusionMode
.AlwaysToInitiator)
597
if (initiator == null || (initiator.X509ReferenceStyle != X509KeyIdentifierClauseType.Any && initiator.X509ReferenceStyle != X509KeyIdentifierClauseType.Thumbprint) || initiator.InclusionMode !=
SecurityTokenInclusionMode
.AlwaysToRecipient)
620
if (recipient == null || recipient.X509ReferenceStyle != X509KeyIdentifierClauseType.Any || recipient.InclusionMode !=
SecurityTokenInclusionMode
.Never)
624
if (initiator == null || initiator.X509ReferenceStyle != X509KeyIdentifierClauseType.Any || initiator.InclusionMode !=
SecurityTokenInclusionMode
.AlwaysToRecipient)
637
if (x509Parameters == null || x509Parameters.X509ReferenceStyle != X509KeyIdentifierClauseType.Thumbprint || x509Parameters.InclusionMode !=
SecurityTokenInclusionMode
.Never)
645
if (x509Parameters == null || x509Parameters.X509ReferenceStyle != X509KeyIdentifierClauseType.Thumbprint || x509Parameters.InclusionMode !=
SecurityTokenInclusionMode
.AlwaysToRecipient)
663
SecurityTokenInclusionMode
.Never));
683
if (x509Parameters == null || x509Parameters.X509ReferenceStyle != X509KeyIdentifierClauseType.Thumbprint || x509Parameters.InclusionMode !=
SecurityTokenInclusionMode
.Never)
710
SecurityTokenInclusionMode
.AlwaysToInitiator,
714
SecurityTokenInclusionMode
.AlwaysToRecipient,
722
SecurityTokenInclusionMode
.AlwaysToInitiator,
726
SecurityTokenInclusionMode
.AlwaysToRecipient,
742
SecurityTokenInclusionMode
.Never));
760
if (x509Parameters == null || x509Parameters.X509ReferenceStyle != X509KeyIdentifierClauseType.Thumbprint || x509Parameters.InclusionMode !=
SecurityTokenInclusionMode
.Never)
885
SecurityTokenInclusionMode
.Never));
914
if (x509Parameters == null || x509Parameters.X509ReferenceStyle != X509KeyIdentifierClauseType.Thumbprint || x509Parameters.InclusionMode !=
SecurityTokenInclusionMode
.Never)
1115
SecurityTokenInclusionMode
.AlwaysToRecipient,
1146
if (x509Parameters.InclusionMode !=
SecurityTokenInclusionMode
.AlwaysToRecipient)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\KerberosSecurityTokenParameters.cs (1)
24
this.InclusionMode =
SecurityTokenInclusionMode
.Once;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\RsaSecurityTokenParameters.cs (2)
18
this.InclusionMode =
SecurityTokenInclusionMode
.Never;
24
this.InclusionMode =
SecurityTokenInclusionMode
.Never;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityTokenInclusionMode.cs (7)
19
public static bool IsDefined(
SecurityTokenInclusionMode
value)
21
return (value ==
SecurityTokenInclusionMode
.AlwaysToInitiator
22
|| value ==
SecurityTokenInclusionMode
.AlwaysToRecipient
23
|| value ==
SecurityTokenInclusionMode
.Never
24
|| value ==
SecurityTokenInclusionMode
.Once);
27
public static void Validate(
SecurityTokenInclusionMode
value)
32
typeof(
SecurityTokenInclusionMode
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityTokenParameters.cs (4)
12
internal const
SecurityTokenInclusionMode
defaultInclusionMode =
SecurityTokenInclusionMode
.AlwaysToRecipient;
16
private
SecurityTokenInclusionMode
_inclusionMode = defaultInclusionMode;
37
public
SecurityTokenInclusionMode
InclusionMode
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (2)
39
public X509SecurityTokenParameters(X509KeyIdentifierClauseType x509ReferenceStyle,
SecurityTokenInclusionMode
inclusionMode)
44
internal X509SecurityTokenParameters(X509KeyIdentifierClauseType x509ReferenceStyle,
SecurityTokenInclusionMode
inclusionMode,
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (19)
1957
public virtual void SetIncludeTokenValue(XmlElement tokenAssertion,
SecurityTokenInclusionMode
inclusionMode)
1963
case
SecurityTokenInclusionMode
.AlwaysToInitiator:
1966
case
SecurityTokenInclusionMode
.AlwaysToRecipient:
1969
case
SecurityTokenInclusionMode
.Never:
1972
case
SecurityTokenInclusionMode
.Once:
1978
public virtual bool TryGetIncludeTokenValue(XmlElement assertion, out
SecurityTokenInclusionMode
mode)
1984
mode =
SecurityTokenInclusionMode
.AlwaysToInitiator;
1989
mode =
SecurityTokenInclusionMode
.AlwaysToRecipient;
1994
mode =
SecurityTokenInclusionMode
.Never;
1999
mode =
SecurityTokenInclusionMode
.Once;
2004
mode =
SecurityTokenInclusionMode
.Never;
2043
SecurityTokenInclusionMode
inclusionMode;
2137
SecurityTokenInclusionMode
inclusionMode;
2190
SecurityTokenInclusionMode
inclusionMode;
2230
SecurityTokenInclusionMode
inclusionMode;
2423
SecurityTokenInclusionMode
inclusionMode;
2511
SecurityTokenInclusionMode
inclusionMode;
2594
SecurityTokenInclusionMode
inclusionMode;
2789
SecurityTokenInclusionMode
inclusionMode;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy12.cs (4)
223
SecurityTokenInclusionMode
inclusionMode;
272
SecurityTokenInclusionMode
inclusionMode;
322
SecurityTokenInclusionMode
inclusionMode;
638
SecurityTokenInclusionMode
inclusionMode;