SamlConditions Class

Represents a set of conditions that must be taken into account when assessing the validity of a SAML assertion.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public class SamlConditions

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 SamlConditions class represents the set of conditions. 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 SamlCondition class.

System.Object
  System.IdentityModel.Tokens.SamlConditions

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft