Skip to main content

ApiScopeDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Represents an API scope.

public class ApiScopeDto

Inheritance ObjectApiScopeDto

Properties

IsEnabled

Gets or set if the scope is enabled.

public bool IsEnabled { get; set; }

Property Value

Boolean

Name

Gets or sets the name of the scope.

public string Name { get; set; }

Property Value

String

DisplayName

Gets or sets the display name of the scope.

public string DisplayName { get; set; }

Property Value

String

Description

Gets or sets the description of the scope.

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>

IsRequired

Gets or sets a value indicating whether this scope is required.

public bool IsRequired { get; set; }

Property Value

Boolean

IsEmphasize

Gets or sets a value indicating whether this scope is emphasize.

public bool IsEmphasize { get; set; }

Property Value

Boolean

RequireResourceIndicator

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

public bool RequireResourceIndicator { get; set; }

Property Value

Boolean

ApiSecrets

Gets or sets a value indicating if api secrets are required for this scope.

public bool ApiSecrets { get; set; }

Property Value

Boolean

Constructors

ApiScopeDto()

public ApiScopeDto()