Partager via


SamlSerializer.ReadStatement(XmlDictionaryReader) Method

Definition

Reads the <saml:Statement> element.

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

Parameters

reader
XmlDictionaryReader

A XmlReader positioned at a SamlStatement element.

Returns

An instance of SamlStatement 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