Saml2SecurityTokenHandler.ReadAuthenticationStatement(XmlReader) 方法

定义

读取 <saml:AuthnStatement> 元素或 <saml:Statement> 元素,后者指定 saml:AuthnStatementType 的 xsi:type。Reads the <saml:AuthnStatement> element or a <saml:Statement> element that specifies an xsi:type of saml:AuthnStatementType.

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

参数

reader
XmlReader

在要读取的元素指定的 XmlReaderAn XmlReader positioned at the element to read.

返回

Saml2AuthenticationStatement

一个 Saml2AuthenticationStatement,表示所读取的元素。A Saml2AuthenticationStatement that represents the element that is read.

例外

readernullreader is null.

适用于