SamlSecurityTokenHandler.ReadStatement(XmlReader) Method

Definition

Reads the <saml:Statement> element.

C#
protected virtual System.IdentityModel.Tokens.SamlStatement ReadStatement(System.Xml.XmlReader reader);

Parameters

reader
XmlReader

An XmlReader positioned at the element to read.

Returns

A SamlStatement that represents the Statement element that was read.

Exceptions

reader is null.

Remarks

The default implementation only handles Statement elements that specify an xsi:type of saml:AttributeStatementType, saml:AuthnStatementType, and saml:AuthzDecisionStatementType. To handle custom statements, override this method.

Applies to

Продукт Версії
.NET Framework 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