SamlSecurityTokenHandler.CreateXmlStringFromAttributes Metod

Definition

Skapar en XML-formaterad sträng från en samling SAML 1.1-attribut som representerar aktören.

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

Parametrar

attributes
IEnumerable<SamlAttribute>

En uppräkning av typen SamlAttribute som innehåller attributen.

Returer

En välformulerad XML-sträng som skapats med hjälp av attributen.

Kommentarer

Strängen är av formatet "<Aktörsattributnamn><, ns><AttributeValue>...</AttributeValue>, ...</Attribut>...</Skådespelare>"

Gäller för