SamlSecurityTokenHandler.ReadStatement(XmlReader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.