SamlSecurityTokenHandler.CreateXmlStringFromAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- attributes
- ICollection<SamlAttribute>
Returns
A well formed XML string.
Remarks
The string is of the form "<Actor><SamlAttribute name, ns><SamlAttributeValue>...</SamlAttributeValue>, ...</SamlAttribute>...</Actor>"