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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.