Muokkaa

Jaa


SamlSecurityTokenHandler.CollectAttributeValues 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<System::IdentityModel::Tokens::SamlAttribute ^> ^ CollectAttributeValues(System::Collections::Generic::ICollection<System::IdentityModel::Tokens::SamlAttribute ^> ^ attributes);
protected virtual System.Collections.Generic.ICollection<System.IdentityModel.Tokens.SamlAttribute> CollectAttributeValues (System.Collections.Generic.ICollection<System.IdentityModel.Tokens.SamlAttribute> attributes);
abstract member CollectAttributeValues : System.Collections.Generic.ICollection<System.IdentityModel.Tokens.SamlAttribute> -> System.Collections.Generic.ICollection<System.IdentityModel.Tokens.SamlAttribute>
override this.CollectAttributeValues : System.Collections.Generic.ICollection<System.IdentityModel.Tokens.SamlAttribute> -> System.Collections.Generic.ICollection<System.IdentityModel.Tokens.SamlAttribute>
Protected Overridable Function CollectAttributeValues (attributes As ICollection(Of SamlAttribute)) As ICollection(Of SamlAttribute)

Parameters

attributes
ICollection<SamlAttribute>

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

Returns

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.

Applies to