Share via


Saml2Serializer.ReadStatement(XmlDictionaryReader) Method

Definition

Reads the <saml:Statement> element.

protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement ReadStatement (System.Xml.XmlDictionaryReader reader);
abstract member ReadStatement : System.Xml.XmlDictionaryReader -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement
override this.ReadStatement : System.Xml.XmlDictionaryReader -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement
Protected Overridable Function ReadStatement (reader As XmlDictionaryReader) As Saml2Statement

Parameters

reader
XmlDictionaryReader

A XmlReader positioned at a Saml2Statement element.

Returns

An instance of Saml2Statement derived type.

Remarks

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

Applies to