Saml2SecurityTokenHandler.CollectAttributeValues Метод

Определение

Собирает атрибуты с общим типом утверждения, типом значения утверждения, и исходным издателем в один атрибут с несколькими значениями.

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)

Параметры

attributes
ICollection<Saml2Attribute>

Коллекция типа Saml2Attribute, содержащая атрибуты, созданные из требований.

Возвращаемое значение

Коллекция Saml2Attribute, содержащая атрибуты, наследуемые от входной коллекции. Атрибуты во входной коллекции, которые совместно используют общее утверждение, значения утверждений и исходный издатель с другими атрибутами, объединены в один атрибут с несколькими значениями в выходную коллекцию. Атрибуты во входной коллекции, которые не используют общий тип утверждения, значение утверждения или первоначальный издатель с другими атрибутами, выглядят без изменений в выходной коллекции.

Применяется к