Table of Contents

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

string

DisplayName

Display name (used on the consent screen).

public string? DisplayName { get; set; }

Property Value

string

Enabled

Whether this resource is enabled. Defaults to true.

public bool Enabled { get; set; }

Property Value

bool

Name

The unique name of the resource.

public string Name { get; set; }

Property Value

string

Properties

A host's own values for this resource. Duende's.

public IDictionary<string, string> Properties { get; set; }

Property Value

IDictionary<string, string>

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

bool

UserClaims

Associated user claim types that should be included for this resource.

public ICollection<string> UserClaims { get; set; }

Property Value

ICollection<string>