6 references to ShouldSerializeToken
System.ServiceModel (6)
System\ServiceModel\Security\SendSecurityHeader.cs (4)
608
if (
ShouldSerializeToken
(this.signingTokenParameters, this.MessageDirection))
629
if (elementContainer.SourceEncryptionToken != null && elementContainer.SourceEncryptionToken != elementContainer.SourceSigningToken &&
ShouldSerializeToken
(encryptingTokenParameters, this.MessageDirection))
675
if (
ShouldSerializeToken
(endorsingTokenParameters[i], this.MessageDirection))
773
return (
ShouldSerializeToken
(parameters, this.MessageDirection)) ? SecurityTokenReferenceStyle.Internal : SecurityTokenReferenceStyle.External;
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (1)
265
bool isAsymmetricTokenInMessage = SendSecurityHeader.
ShouldSerializeToken
(this.Factory.SecurityTokenParameters, MessageDirection.Input);
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (1)
112
if (
ShouldSerializeToken
(securityTokenParameters, this.MessageDirection))