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.
public
System.​Collections.​Generic.​ICollection<​Secret>
ApiSecrets
The API secret is used for the introspection endpoint. The API can authenticate with introspection using the API name and secret.
public
System.​Collections.​Generic.​ICollection<​string>
Scopes
Models the scopes this API resource allows.
public
System.​Collections.​Generic.​ICollection<​string>
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.
public
System.​Collections.​Generic.​ICollection<​string>
UserClaims
List of associated user claims that should be included when this resource is requested.
public
System.​Collections.​Generic.​IDictionary<​string, string>
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
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object