SamlAssertion.Conditions Property

 

Gets or sets a set of conditions that may be taken into account when assessing the validity of the SAML assertion.

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

public SamlConditions Conditions { get; set; }

Property Value

Type: System.IdentityModel.Tokens.SamlConditions

A SamlConditions that specifies a set of conditions that may be taken into account when assessing the validity of the SAML assertion.

Exception Condition
InvalidOperationException

The IsReadOnly property is true and an attempt is made to set the Conditions property.

The Conditions property corresponds to the <saml:Conditions> element defined in the OASIS SAML 1.1 specification.

.NET Framework
Available since 3.0
Return to top
Show: