Compartilhar via


SamlSecurityTokenHandler.ConsolidateAttributes Method

Definition

Collects attributes with a common claim type, claim value type, and original issuer into a single attribute with multiple values.

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

Parameters

attributes
ICollection<SamlAttribute>

ICollection<T> to consolidate.

Returns

ICollection<T>common attributes collected into value lists.

Applies to