ApiResourceCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
ApiResourceCollection(IList<ApiResource>) |
Initializes a new instance of ApiResourceCollection with the given
API resources in |
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 |
AddRange(ApiResource[]) |
Adds the resources in |