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