Редагувати

Поділитися через


SamlSecurityTokenHandler.ReadStatement(XmlReader) Method

Definition

Reads the <saml:Statement> element.

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

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