Initial ...

This commit is contained in:
2026-03-22 14:08:25 +03:30
commit d3464ef39c
71 changed files with 19087 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
using System;
using xIds.Constants;
namespace xIds.Models
{
public class XDbInfo
{
private string _migrationAssembly;
public XDbProviders ProviderType { get; set; }
public string MigrationsAssembly
{
get
{
return _migrationAssembly;
}
set
{
//
_migrationAssembly = value;
//
OptionsBuilder = b =>
{
b.MigrationsAssembly(value);
};
}
}
public Action<dynamic> OptionsBuilder { get; set; }
}
}
+19
View File
@@ -0,0 +1,19 @@
using System.Collections.Generic;
using IdentityServer4.Models;
using xIdentityModels.Descriptors;
namespace xIds.Models
{
/// <summary>
/// the resource Descriptors for Using on DbSeed
/// </summary>
public class XDbSeedDescriptor
{
public bool UpdateExists { get; set; }
public ICollection<ApiScope> ApiScopes { get; set; }
public ICollection<ApiResource> ApiResources { get; set; }
public ICollection<IdentityResource> IdentityResources { get; set; }
public ICollection<Client> Clients { get; set; }
public ICollection<XIdentityUserDescriptor> Users { get; set; }
}
}