SamlSecurityTokenHandler.CollectAttributeValues Metod

Definition

Samlar in attribut med en gemensam anspråkstyp, anspråksvärdetyp och ursprunglig utfärdare i ett enda attribut med flera värden.

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)

Parametrar

attributes
ICollection<SamlAttribute>

En samling av typen SamlAttribute som innehåller attributen som genereras från anspråk.

Returer

En samling som SamlAttribute innehåller attribut som härletts från indatasamlingen. Attribut i indatasamlingen som delar en gemensam anspråkstyp, anspråksvärde och ursprunglig utfärdare med andra attribut konsolideras till ett enda attribut med flera värden i utdatasamlingen. Attribut i indatasamlingen som inte delar anspråkstyp, anspråksvärde eller ursprunglig utfärdare med andra attribut visas oförändrade i utdatasamlingen.

Gäller för