Muokkaa

Jaa


Saml2SecurityTokenHandler.ReadStatement(XmlReader) Method

Definition

Reads the <saml:Statement> element.

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

Parameters

reader
XmlReader

An XmlReader positioned at the element to read.

Returns

A Saml2Statement 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