Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ApiScopes): disable auto-publish in discovery document #243

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -6,34 +6,34 @@

namespace Skoruba.Duende.IdentityServer.Admin.BusinessLogic.Dtos.Configuration
{
public class ApiScopeDto
{
public ApiScopeDto()
{
UserClaims = new List<string>();
}
public class ApiScopeDto
{
public ApiScopeDto()
{
UserClaims = new List<string>();
}

public bool ShowInDiscoveryDocument { get; set; } = true;
public bool ShowInDiscoveryDocument { get; set; }

public int Id { get; set; }
public int Id { get; set; }

[Required]
public string Name { get; set; }
public string Name { get; set; }

public string DisplayName { get; set; }
public string DisplayName { get; set; }

public string Description { get; set; }
public string Description { get; set; }

public bool Required { get; set; }
public bool Required { get; set; }

public bool Emphasize { get; set; }
public bool Emphasize { get; set; }

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

public string UserClaimsItems { get; set; }

public bool Enabled { get; set; } = true;
public bool Enabled { get; set; } = true;

public List<ApiScopePropertyDto> ApiScopeProperties { get; set; }
}
}
}