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.​IdentityResource
Assembly: Duende.IdentityServer.Storage
Inheritance: object → Resource → IdentityResource
Models a user identity resource.
Properties
public
bool
Required
Specifies whether the user can de-select the scope on the consent screen (if the consent screen wants to implement such a feature). Defaults to false.
public
bool
Emphasize
Specifies whether the consent screen will emphasize this scope (if the consent screen wants to implement such a feature).
Use this setting for sensitive or important scopes. Defaults to false.
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