Bewerken

Share via


Saml2SecurityTokenHandler.WriteAuthenticationContext Method

Definition

Writes the <saml:AuthnContext> element.

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

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2AuthenticationContext

The data to write.

Exceptions

data is null.

-or-

writer is null.

Applies to