Represents a condition that must be taken into account when assessing the validity of a SAML assertion.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
SamlSecurityToken security tokens specify their claims using SAML assertions and a set of conditions that must be taken into account when assessing the validity of the SAML assertion. The class represents a single condition. An example of a condition is whether the SAML assertion must not be cached, which is represented by the SamlDoNotCacheCondition class.
The SAML specification defines two conditions and it allows for the set of conditions to be extended. The two conditions defined by the SAML specification are SamlAudienceRestrictionCondition and SamlDoNotCacheCondition. To define a new condition, derive a class from the class.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.