Dela via


Saml2SecurityTokenHandler.ConsolidateAttributes Method

Definition

Consolidates attributes into a single attribute with multiple values.

protected virtual System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute> ConsolidateAttributes (System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute> attributes);
abstract member ConsolidateAttributes : System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute> -> System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute>
override this.ConsolidateAttributes : System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute> -> System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute>
Protected Overridable Function ConsolidateAttributes (attributes As ICollection(Of Saml2Attribute)) As ICollection(Of Saml2Attribute)

Parameters

Returns

A ICollection<T> of Saml2Attribute with common attributes consolidated into unique attributes with multiple values.

Exceptions

If attributes is null.

Applies to