Class Resource
- Namespace
- Duende.IdentityServer.Models
- Assembly
- Duende.IdentityServer.Storage.dll
Models the common data of API and identity resources.
public abstract class Resource
- Inheritance
-
Resource
- Derived
- Inherited Members
Constructors
Resource()
protected Resource()
Properties
Description
Description of the resource.
public string? Description { get; set; }
Property Value
DisplayName
Display name of the resource.
public string? DisplayName { get; set; }
Property Value
Enabled
Indicates if this resource is enabled. Defaults to true.
public bool Enabled { get; set; }
Property Value
Name
The unique name of the resource.
public string Name { get; set; }
Property Value
Properties
Gets or sets the custom properties for the resource.
public IDictionary<string, string> Properties { get; set; }
Property Value
- IDictionary<string, string>
The properties.
ShowInDiscoveryDocument
Specifies whether this scope is shown in the discovery document. Defaults to true.
public bool ShowInDiscoveryDocument { get; set; }
Property Value
UserClaims
List of associated user claims that should be included when this resource is requested.
public ICollection<string> UserClaims { get; set; }