Redigera

Dela via


SamlSecurityTokenHandler.CreateXmlStringFromAttributes Method

Definition

Builds an XML formatted string from a collection of SAML 1.1 attributes that represent the Actor.

protected:
 virtual System::String ^ CreateXmlStringFromAttributes(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAttribute ^> ^ attributes);
protected virtual string CreateXmlStringFromAttributes (System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAttribute> attributes);
abstract member CreateXmlStringFromAttributes : seq<System.IdentityModel.Tokens.SamlAttribute> -> string
override this.CreateXmlStringFromAttributes : seq<System.IdentityModel.Tokens.SamlAttribute> -> string
Protected Overridable Function CreateXmlStringFromAttributes (attributes As IEnumerable(Of SamlAttribute)) As String

Parameters

attributes
IEnumerable<SamlAttribute>

An enumeration of type SamlAttribute that contains the attributes.

Returns

A well-formed XML string constructed using the attributes.

Remarks

The string is of the form "<Actor><Attribute name, ns><AttributeValue>...</AttributeValue>, ...</Attribute>...</Actor>"

Applies to