First Initial
This commit is contained in:
25
Configure/EGPWebAPIConfig.cs
Normal file
25
Configure/EGPWebAPIConfig.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace STAFF_API.Configure
|
||||
{
|
||||
public class EGPWebAPIConfig
|
||||
{
|
||||
public string RootUrl { get; set; }
|
||||
public EGPWebAPIService EGPServices { get; set; }
|
||||
public LDAPWebAPIService LDAPServices { get; set; }
|
||||
|
||||
public class EGPWebAPIService
|
||||
{
|
||||
public string GetProjectDetail { get; set; }
|
||||
}
|
||||
|
||||
public class LDAPWebAPIService
|
||||
{
|
||||
public string Login { get; set; }
|
||||
public string CheckAccount { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
12
Configure/FrontConfig.cs
Normal file
12
Configure/FrontConfig.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace STAFF_API.Configure
|
||||
{
|
||||
public class FrontConfig
|
||||
{
|
||||
public string RootUrl { get; set; }
|
||||
}
|
||||
}
|
||||
19
Configure/IdentityServerConfig.cs
Normal file
19
Configure/IdentityServerConfig.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace TTSW.Configure
|
||||
{
|
||||
/// <summary>
|
||||
/// This class if used for configuration
|
||||
/// </summary>
|
||||
public class IdentityServerConfig
|
||||
{
|
||||
public string url { get; set; }
|
||||
public string apiName { get; set; }
|
||||
public string apiSecret { get; set; }
|
||||
public string clientSecret { get; set; }
|
||||
public string clientName { get; set; }
|
||||
}
|
||||
}
|
||||
18
Configure/MailConfig.cs
Normal file
18
Configure/MailConfig.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace STAFF_API.Configure
|
||||
{
|
||||
public class MailConfig
|
||||
{
|
||||
public string Host { get; set; }
|
||||
public int Port { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public bool DefaultCredentials { get; set; }
|
||||
public bool EnableSsl { get; set; }
|
||||
public string From { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user