Freigeben über


SamlSecurityTokenHandler.CreateXmlStringFromAttributes Method

Definition

Builds an XML formated string from a collection of saml attributes that represent an Actor.

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

Parameters

Returns

A well formed XML string.

Remarks

The string is of the form "<Actor><SamlAttribute name, ns><SamlAttributeValue>...</SamlAttributeValue>, ...</SamlAttribute>...</Actor>"

Applies to