Redigera

Dela via


Saml2SecurityTokenHandler.WriteSubjectConfirmationData Method

Definition

Writes the <saml:SubjectConfirmationData> element.

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

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2SubjectConfirmationData

The data to write.

Exceptions

data is null.

-or-

writer is null.

Remarks

When the data.KeyIdentifiers collection is not empty, an xsi:type attribute will be written specifying the saml:KeyInfoConfirmationDataType.

Applies to