Initial ...
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace xIds.Configurations
|
||||
{
|
||||
public class CertificatesConfigurations
|
||||
{
|
||||
public struct CertificateNames
|
||||
{
|
||||
public const string IdentityServerSigning = "IdentityServerSigning";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
using xIds.Constants;
|
||||
|
||||
namespace xIds.Configurations
|
||||
{
|
||||
/// <summary>
|
||||
/// Represent Configurations of DataService Module ...
|
||||
/// </summary>
|
||||
public partial class XDataServiceConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// Provider Type ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public XDbProviders Provider { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Connection String which provide Requires Data to Connect to Db Provider ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public string ConnectionString { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Enable Tracking of Entities ...
|
||||
/// Only Used on EFCore ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public bool EnableTracking { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Enable Logging Details of Errors ...
|
||||
/// Only Used on EFCore ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public bool EnableDetailedErrors { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Enable Logging Sensitive Data ...
|
||||
/// Only Used on EFCore ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public bool EnableSensitiveDataLogging { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// this is a way to provide Default Pagination Data on XQuery based requests ...
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public PagingConfiguration PagingConfiguration { get; set; } = new PagingConfiguration();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// this is a way to provide Default Pagination Data on XQuery based requests ...
|
||||
/// </summary>
|
||||
public partial class PagingConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// Default Page Size ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public int DefaultPageSize { get; set; } = XDataServiceConstants.DEFAULT_PAGE_SIZE;
|
||||
|
||||
/// <summary>
|
||||
/// restrict Maximum Page Size ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public int MaxAvailablePageSize { get; set; } = XDataServiceConstants.MAX_AVAILABLE_PAGE_SIZE;
|
||||
|
||||
/// <summary>
|
||||
/// restrice Minimum Page Size ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public int MinAvailablePageSize { get; set; } = XDataServiceConstants.MIN_AVAILABLE_PAGE_SIZE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace xIds.Configurations
|
||||
{
|
||||
/// <summary>
|
||||
/// determines a resource and it's connection info
|
||||
/// </summary>
|
||||
public partial class XIdentityResourceConfiguration
|
||||
{
|
||||
public string Authority { get; set; }
|
||||
public string ApiName { get; set; }
|
||||
public string ApiSecret { get; set; }
|
||||
|
||||
public string ClientId { get; set; }
|
||||
public string ClientSecret { get; set; }
|
||||
|
||||
public string XPoweredValue { get; set; }
|
||||
public string XRevisionSecretKey { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user