3.0.0.1 Demo repository registration
This commit is contained in:
@@ -17,6 +17,15 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
public static String Context_Defaults { get; } = "Defaults";
|
||||
public static class Security
|
||||
{
|
||||
public static class Demo
|
||||
{
|
||||
public static class Register
|
||||
{
|
||||
public static int EmailLinkExpiresMins_Default { get; } = 60;
|
||||
public static int EmailLinkExpiresMins_Min { get; } = 30;
|
||||
public static int EmailLinkExpiresMins_Max { get; } = 60 * 4;
|
||||
}
|
||||
}
|
||||
public static class Password
|
||||
{
|
||||
public static int MinLength { get; } = 8;
|
||||
@@ -59,7 +68,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
public static class Cookie
|
||||
{
|
||||
/// <summary>Default cookie name: '.AspNetCore.Session'</summary>
|
||||
public static String Name { get; } = "BusinessMgr.Portal.Session";
|
||||
public static String Name { get; } = "BMPSN";
|
||||
public static bool HttpOnly { get; } = true;
|
||||
public static TimeSpan IdleTimeout { get; } = SacsSystem.DebugMode ? TimeSpan.FromMinutes(5) : TimeSpan.FromMinutes(60);
|
||||
public static long RememberMeTimeoutMilis { get; } = (long)(SacsSystem.DebugMode ? TimeSpan.FromMinutes(2) : TimeSpan.FromMinutes(10)).TotalMilliseconds;
|
||||
@@ -81,7 +90,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
public static class Cookie
|
||||
{
|
||||
/// <summary>Default cookie name: '.AspNetCore.Session'</summary>
|
||||
public static String Name { get; } = "BusinessMgr.Control.Session";
|
||||
public static String Name { get; } = "BusMgr.Control.Session";
|
||||
public static bool HttpOnly { get; } = true;
|
||||
public static TimeSpan IdleTimeout { get; } = SacsSystem.DebugMode ? TimeSpan.FromMinutes(5) : TimeSpan.FromMinutes(15);
|
||||
public static long KeepLoggedInTimeoutMillis { get; } = (long)(SacsSystem.DebugMode ? TimeSpan.FromMinutes(2) : TimeSpan.FromMinutes(10)).TotalMilliseconds;
|
||||
@@ -112,6 +121,15 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.App
|
||||
QC,
|
||||
Dev
|
||||
}
|
||||
public enum Database
|
||||
{
|
||||
Unknown,
|
||||
Control,
|
||||
Template,
|
||||
Demo,
|
||||
}
|
||||
public const String RepositoryContext_Template = "Template";
|
||||
public const String RepositoryContext_Demo= "Demo";
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Configuration console.
|
||||
|
||||
Reference in New Issue
Block a user