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

Parametrar

attributes
ICollection<Saml2Attribute>

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

Returer

En samling som Saml2Attribute 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