CollectAttributeValues Method
TOC
Collapse the table of content
Expand the table of content

SamlSecurityTokenHandler.CollectAttributeValues Method (ICollection<SamlAttribute>)

.NET Framework (current version)
 

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

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected virtual ICollection<SamlAttribute> CollectAttributeValues(
	ICollection<SamlAttribute> attributes
)

Parameters

attributes
Type: System.Collections.Generic.ICollection<SamlAttribute>

A collection of type SamlAttribute that contains the attributes generated from claims.

Return Value

Type: System.Collections.Generic.ICollection<SamlAttribute>

A collection of SamlAttribute that contains attributes derived from the input collection. Attributes in the input collection that share a common claim type, claim value, and original issuer with other attributes are consolidated into a single attribute with multiple values in the output collection. Attributes in the input collection that do not share claim type, claim value, or original issuer with other attributes appear unaltered in the output collection.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft