IdentityResourceCollection.AddRange Method

Definition

Overloads

AddRange(IdentityResource[])

Adds the identity resources in identityResources to the collection.

AddRange(IdentityResource[])

Adds the identity resources in identityResources to the collection.

AddRange(IdentityResource[])

Source:
IdentityResourceCollection.cs
Source:
IdentityResourceCollection.cs
Source:
IdentityResourceCollection.cs

Adds the identity resources in identityResources to the collection.

C#
public void AddRange (params Duende.IdentityServer.Models.IdentityResource[] identityResources);

Parameters

identityResources
Duende.IdentityServer.Models.IdentityResource[]

The list of Duende.IdentityServer.Models.IdentityResource to add.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 6.0, 7.0, 8.0, 9.0

AddRange(IdentityResource[])

Source:
IdentityResourceCollection.cs
Source:
IdentityResourceCollection.cs
Source:
IdentityResourceCollection.cs

Adds the identity resources in identityResources to the collection.

C#
public void AddRange (params IdentityServer4.Models.IdentityResource[] identityResources);

Parameters

identityResources
IdentityServer4.Models.IdentityResource[]

The list of IdentityServer4.Models.IdentityResource to add.

Applies to

ASP.NET Core 5.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0