Saml2SecurityTokenHandler.WriteAuthenticationStatement Method (XmlWriter, Saml2AuthenticationStatement)

.NET Framework (current version)
 

Writes the <saml:AuthnStatement> element.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected virtual void WriteAuthenticationStatement(
	XmlWriter writer,
	Saml2AuthenticationStatement data
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to write the data.

data
Type: System.IdentityModel.Tokens.Saml2AuthenticationStatement

The data to write.

Exception Condition
ArgumentNullException

data is null.

-or-

writer is null.

.NET Framework
Available since 4.5
Return to top
Show: