Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SamlCondition Class

Represents a condition 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 abstract class SamlCondition
public abstract class SamlCondition
public abstract class SamlCondition
Not applicable.

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 SamlCondition 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 SamlCondition class.

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

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

Community Additions

Show:
© 2014 Microsoft