SamlSecurityTokenHandler.WriteAssertion(XmlWriter, SamlAssertion) 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.
Serializes the specified SAML assertion to the specified XML writer.
protected:
virtual void WriteAssertion(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SamlAssertion ^ assertion);
protected virtual void WriteAssertion (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SamlAssertion assertion);
abstract member WriteAssertion : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlAssertion -> unit
override this.WriteAssertion : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlAssertion -> unit
Protected Overridable Sub WriteAssertion (writer As XmlWriter, assertion As SamlAssertion)
Parameters
- assertion
- SamlAssertion
A SamlAssertion that represents the assertion to serialize.
Exceptions
The token encrypting credentials do not have a Symmetric Key specified.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.