Op Englesch liesen Editéieren

Deelen iwwer


SamlSerializer.LoadConditions Method

Definition

Reads a set of conditions that must be taken into account when assessing the validity of a SAML assertion using the specified XML reader.

C#
public virtual System.IdentityModel.Tokens.SamlConditions LoadConditions(System.Xml.XmlDictionaryReader reader, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer, System.IdentityModel.Selectors.SecurityTokenResolver outOfBandTokenResolver);

Parameters

reader
XmlDictionaryReader

An XmlDictionaryReader to read the SAML conditions.

keyInfoSerializer
SecurityTokenSerializer

A SecurityTokenSerializer that reads the KeyInfo clause of the digital signature.

outOfBandTokenResolver
SecurityTokenResolver

A SecurityTokenResolver that determines the security token that created the digital signature.

Returns

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

Exceptions

reader is null.

Remarks

The LoadConditions method reads the contents of a <saml:Conditions> element.

Applies to

Produkt Versiounen
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also