Saml2SecurityTokenHandler.CreateXmlStringFromAttributes Metod

Definition

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

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

Parametrar

attributes
IEnumerable<Saml2Attribute>

En uppräkning av typen Saml2Attribute 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