共用方式為


Saml2Serializer.WriteSubjectConfirmationData Method

Definition

Writes the <saml:SubjectConfirmationData> element.

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

Parameters

writer
XmlWriter

A XmlWriter to serialize the Saml2SubjectConfirmationData.

subjectConfirmationData
Saml2SubjectConfirmationData

The Saml2SubjectConfirmationData to serialize.

Remarks

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

Applies to