This commit is contained in:
2026-11-15 17:53:12 +03:30
parent fd78ac884c
commit f24cfb2fc1
13 changed files with 1296 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
using xModels.Base;
namespace xIdentityModels.Dtos
{
/// <summary>
/// a Scope Definition Model (mirror of IdentityServer ApiScope) ...
/// </summary>
public class XScopeDefinitionDto : XBaseIntIDEntityDto
{
/// <summary>
/// Unique Scope Name, e.g. XAPI.read ...
/// </summary>
public string Name { get; set; }
/// <summary>
/// Display Name ...
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Description ...
/// </summary>
public string Description { get; set; }
/// <summary>
/// Comma Separated List of User Claims ...
/// </summary>
public string UserClaims { get; set; }
/// <summary>
/// Optional ApiResource Name on IdentityServer ...
/// </summary>
public string ApiResourceName { get; set; }
/// <summary>
/// Is Enabled ...
/// </summary>
public bool IsEnabled { get; set; } = true;
/// <summary>
/// Seeded from Constants, cannot be removed ...
/// </summary>
public bool IsSystem { get; set; }
}
}