Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Duende.​IdentityServer.​Models.​ApiResource

Assembly: Duende.IdentityServer.Storage

Inheritance: object → Resource → ApiResource

Models a web API resource.

Properties

public bool
RequireResourceIndicator
Indicates if this API resource requires the resource indicator to request it, and expects access tokens issued to it will only ever contain this API resource as the audience.
The API secret is used for the introspection endpoint. The API can authenticate with introspection using the API name and secret.
Models the scopes this API resource allows.
AllowedAccessTokenSigningAlgorithms
Signing algorithm for access token. If empty, will use the server default signing algorithm.
public bool
Enabled
Indicates if this resource is enabled. Defaults to true.
public string
Name
The unique name of the resource.
public string
DisplayName
Display name of the resource.
public string
Description
Description of the resource.
public bool
ShowInDiscoveryDocument
Specifies whether this scope is shown in the discovery document. Defaults to true.
List of associated user claims that should be included when this resource is requested.
Properties
Gets or sets the custom properties for the resource.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object