Dela via


ApiResourceCollection Class

Definition

A collection of Duende.IdentityServer.Models.ApiResource.

public ref class ApiResourceCollection : System::Collections::ObjectModel::Collection<IdentityServer4::Models::ApiResource ^>
public class ApiResourceCollection : System.Collections.ObjectModel.Collection<IdentityServer4.Models.ApiResource>
public class ApiResourceCollection : System.Collections.ObjectModel.Collection<Duende.IdentityServer.Models.ApiResource>
type ApiResourceCollection = class
    inherit Collection<ApiResource>
Public Class ApiResourceCollection
Inherits Collection(Of ApiResource)
Inheritance
Collection<IdentityServer4.Models.ApiResource>
ApiResourceCollection
Inheritance
Collection<Duende.IdentityServer.Models.ApiResource>
ApiResourceCollection

Constructors

ApiResourceCollection()

Initializes a new instance of ApiResourceCollection.

ApiResourceCollection(IList<ApiResource>)

Initializes a new instance of ApiResourceCollection with the given API resources in list.

ApiResourceCollection(IList<ApiResource>)

Initializes a new instance of ApiResourceCollection with the given API resources in list.

Properties

Item[String]

Gets an API resource given its name.

Methods

AddApiResource(String, Action<ApiResourceBuilder>)

Adds a new externally registered API.

AddIdentityServerJwt(String, Action<ApiResourceBuilder>)

Creates a new API that coexists with an authorization server.

AddRange(ApiResource[])

Adds the resources in resources to the collection.

AddRange(ApiResource[])

Adds the resources in resources to the collection.

Applies to