Muokkaa

Jaa


SamlConditions Constructors

Definition

Initializes a new instance of the SamlConditions class.

Overloads

SamlConditions()

Initializes a new instance of the SamlConditions class.

SamlConditions(DateTime, DateTime)

Initializes a new instance of the SamlConditions class using the specified timeframe that the SAML assertion is valid.

SamlConditions(DateTime, DateTime, IEnumerable<SamlCondition>)

Initializes a new instance of the SamlConditions class using the specified timeframe and conditions when the SAML assertion is valid.

SamlConditions()

Initializes a new instance of the SamlConditions class.

public:
 SamlConditions();
public SamlConditions ();
Public Sub New ()

Remarks

This constructor initializes the IsReadOnly property to false.

Applies to

SamlConditions(DateTime, DateTime)

Initializes a new instance of the SamlConditions class using the specified timeframe that the SAML assertion is valid.

public:
 SamlConditions(DateTime notBefore, DateTime notOnOrAfter);
public SamlConditions (DateTime notBefore, DateTime notOnOrAfter);
new System.IdentityModel.Tokens.SamlConditions : DateTime * DateTime -> System.IdentityModel.Tokens.SamlConditions
Public Sub New (notBefore As DateTime, notOnOrAfter As DateTime)

Parameters

notBefore
DateTime

A DateTime that specifies the earliest instant in time when the SAML assertion is valid. Sets the NotBefore property.

notOnOrAfter
DateTime

A DateTime that specifies the instant in time when the SAML assertion expires. Sets the NotOnOrAfter property.

Remarks

The NotBefore and NotOnOrAfter properties are stored in Coordinated Universal Time (UTC).

Applies to

SamlConditions(DateTime, DateTime, IEnumerable<SamlCondition>)

Initializes a new instance of the SamlConditions class using the specified timeframe and conditions when the SAML assertion is valid.

public:
 SamlConditions(DateTime notBefore, DateTime notOnOrAfter, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlCondition ^> ^ conditions);
public SamlConditions (DateTime notBefore, DateTime notOnOrAfter, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlCondition> conditions);
new System.IdentityModel.Tokens.SamlConditions : DateTime * DateTime * seq<System.IdentityModel.Tokens.SamlCondition> -> System.IdentityModel.Tokens.SamlConditions
Public Sub New (notBefore As DateTime, notOnOrAfter As DateTime, conditions As IEnumerable(Of SamlCondition))

Parameters

notBefore
DateTime

A DateTime that specifies the earliest instant in time when the SAML assertion is valid. Sets the NotBefore property.

notOnOrAfter
DateTime

A DateTime that specifies the instant in time when the SAML assertion expires. Sets the NotOnOrAfter property.

conditions
IEnumerable<SamlCondition>

An IEnumerable<T> of type SamlCondition that specifies a set of conditions that a recipient of a SAML assertion must take into account in assessing the validity of the assertion. Sets the Conditions property.

Exceptions

conditions contains a member that is null.

Remarks

The NotBefore and NotOnOrAfter properties are stored in Coordinated Universal Time (UTC).

Applies to