Saml2SecurityTokenHandler.ConsolidateAttributes 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.
Consolidates attributes into a single attribute with multiple values.
protected virtual System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute> ConsolidateAttributes (System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute> attributes);
abstract member ConsolidateAttributes : System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute> -> System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute>
override this.ConsolidateAttributes : System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute> -> System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute>
Protected Overridable Function ConsolidateAttributes (attributes As ICollection(Of Saml2Attribute)) As ICollection(Of Saml2Attribute)
Parameters
- attributes
- ICollection<Saml2Attribute>
A ICollection<T> of Saml2Attribute.
Returns
A ICollection<T> of Saml2Attribute with common attributes consolidated into unique attributes with multiple values.
Exceptions
If attributes
is null.