Share via


Saml2Serializer.WriteAuthenticationStatement Method

Definition

Writes the <saml:AuthnStatement> element.

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

Parameters

writer
XmlWriter

A XmlWriter to serialize the Saml2AuthenticationStatement.

Exceptions

if statement is null.

Applies to