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>"
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for