Sdílet prostřednictvím


Saml2SecurityTokenHandler.CollectAttributeValues Metoda

Definice

Shromažďuje atributy se společným typem deklarace identity, typem hodnoty deklarace identity a původním vystavitelem do jednoho atributu s více hodnotami.

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)

Parametry

attributes
ICollection<Saml2Attribute>

Kolekce typu Saml2Attribute , která obsahuje atributy vygenerované z deklarací identity.

Návraty

Kolekce obsahující Saml2Attribute atributy odvozené ze vstupní kolekce. Atributy ve vstupní kolekci, které sdílejí společný typ deklarace identity, hodnotu deklarace identity a původního vystavitele s jinými atributy, se ve výstupní kolekci konsolidují do jednoho atributu s více hodnotami. Atributy ve vstupní kolekci, které nesdílely typ deklarace identity, hodnotu deklarace identity nebo původní vystavitele s jinými atributy, se ve výstupní kolekci zobrazí beze změna.

Platí pro