Saml2SecurityTokenHandler.WriteAuthenticationContext Metod

Definition

Skriver elementet <saml:AuthnContext> .

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)

Parametrar

writer
XmlWriter

Med XmlWriter vilken data ska skrivas.

data
Saml2AuthenticationContext

De data som ska skrivas.

Undantag

data är null.

-eller-

writer är null.

Gäller för