5 references to IsOptional
System.ServiceModel (5)
System\ServiceModel\Configuration\FederatedMessageSecurityOverHttpElement.cs (1)
171ClaimTypeElement element = new ClaimTypeElement(claimTypeRequirement.ClaimType, claimTypeRequirement.IsOptional);
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (1)
266this.ClaimTypeRequirements.Add(new ClaimTypeElement(c.ClaimType, c.IsOptional));
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (3)
345if (claimType.IsOptional != ClaimTypeRequirement.DefaultIsOptional) 348attr.Value = XmlConvert.ToString(claimType.IsOptional); 952sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " {0}, optional={1}", this.claimTypeRequirements[i].ClaimType, this.claimTypeRequirements[i].IsOptional));