Zum Hauptinhalt springen

ApiResourceDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Represents an API resource.

public class ApiResourceDto

Inheritance Object → ApiResourceDto

Properties​

IsEnabled​

Gets or sets if the API resource is enabled.

public bool IsEnabled { get; set; }

Property Value​

Boolean

Name​

Gets or sets the name of the API resource.

public string Name { get; set; }

Property Value​

String

DisplayName​

Gets or sets the display name of the API resource.

public string DisplayName { get; set; }

Property Value​

String

Description​

Gets or sets the description of the API resource.

public string Description { get; set; }

Property Value​

String

ShowInDiscoveryDocument​

Gets or sets a value indicating whether the scope is shown in the discovery document.

public bool ShowInDiscoveryDocument { get; set; }

Property Value​

Boolean

UserClaims​

Gets or sets a list of user claims that should be included in the access token.

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

Property Value​

ICollection<String>

RequireResourceIndicator​

Gets or sets a value indicating whether this scope is a resource indicator.

public bool RequireResourceIndicator { get; set; }

Property Value​

Boolean

Scopes​

Gets or sets a collection of scopes that the client is allowed to request.

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

Property Value​

ICollection<String>

AllowedAccessTokenSigningAlgorithms​

Gets or sets a collection of allowed access token signing algorithms.

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

Property Value​

ICollection<String>

Constructors​

ApiResourceDto()​

public ApiResourceDto()