Class Resource
- Namespace
- Fdyay.IdentityServer.Models
- Assembly
- Fdyay.IdentityServer.Core.dll
Base class for identity and API resources.
public abstract class Resource
- Inheritance
-
Resource
- Derived
- Inherited Members
Properties
Description
Description (used on the consent screen).
public string? Description { get; set; }
Property Value
DisplayName
Display name (used on the consent screen).
public string? DisplayName { get; set; }
Property Value
Enabled
Whether 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
A host's own values for this resource. Duende's.
public IDictionary<string, string> Properties { get; set; }
Property Value
Remarks
Nothing here reads them; a configuration store keeps them with the resource, as it keeps the rest.
ShowInDiscoveryDocument
Whether this resource is shown in the discovery document. Defaults to true.
public bool ShowInDiscoveryDocument { get; set; }
Property Value
UserClaims
Associated user claim types that should be included for this resource.
public ICollection<string> UserClaims { get; set; }