ApiScopeDto
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Represents an API scope.
public class ApiScopeDto
Inheritance Object → ApiScopeDto
Properties
IsEnabled
Gets or set if the scope is enabled.
public bool IsEnabled { get; set; }
Property Value
Name
Gets or sets the name of the scope.
public string Name { get; set; }
Property Value
DisplayName
Gets or sets the display name of the scope.
public string DisplayName { get; set; }
Property Value
Description
Gets or sets the description of the scope.
public string Description { get; set; }
Property Value
ShowInDiscoveryDocument
Gets or sets a value indicating whether the scope is shown in the discovery document.
public bool ShowInDiscoveryDocument { get; set; }
Property Value
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
IsRequired
Gets or sets a value indicating whether this scope is required.
public bool IsRequired { get; set; }
Property Value
IsEmphasize
Gets or sets a value indicating whether this scope is emphasize.
public bool IsEmphasize { get; set; }
Property Value
RequireResourceIndicator
Gets or sets a value indicating whether this scope is a resource indicator.
public bool RequireResourceIndicator { get; set; }
Property Value
ApiSecrets
Gets or sets a value indicating if api secrets are required for this scope.
public bool ApiSecrets { get; set; }
Property Value
Constructors
ApiScopeDto()
public ApiScopeDto()