Saml2SecurityTokenHandler.WriteAuthenticationStatement Method

Definition

Writes the <saml:AuthnStatement> element.

protected:
 virtual void WriteAuthenticationStatement(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::Saml2AuthenticationStatement ^ data);
protected virtual void WriteAuthenticationStatement (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.Saml2AuthenticationStatement data);
abstract member WriteAuthenticationStatement : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2AuthenticationStatement -> unit
override this.WriteAuthenticationStatement : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2AuthenticationStatement -> unit
Protected Overridable Sub WriteAuthenticationStatement (writer As XmlWriter, data As Saml2AuthenticationStatement)

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2AuthenticationStatement

The data to write.

Exceptions

data is null.

-or-

writer is null.

Applies to