Saml2Serializer.WriteAuthenticationStatement 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.
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.
- statement
- Saml2AuthenticationStatement
The Saml2AuthenticationStatement to serialize.
Exceptions
if statement
is null.