files tree made better.
This commit is contained in:
parent
ffbf032480
commit
ccc91bbf19
1630 changed files with 18209 additions and 41860 deletions
6
src/Yavsc.Server/Settings/CompanyInfoSettings.cs
Normal file
6
src/Yavsc.Server/Settings/CompanyInfoSettings.cs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public class CompanyInfoSettings {
|
||||
public string ApiKey { get; set; }
|
||||
}
|
||||
}
|
||||
14
src/Yavsc.Server/Settings/EmailEntry.cs
Normal file
14
src/Yavsc.Server/Settings/EmailEntry.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using Yavsc.Models.Relationship;
|
||||
|
||||
namespace Yavsc
|
||||
{
|
||||
public class Contact
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string EMail { get; set; }
|
||||
|
||||
public PostalAddress PostalAddress { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
14
src/Yavsc.Server/Settings/GoogleAuthSettings.cs
Normal file
14
src/Yavsc.Server/Settings/GoogleAuthSettings.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
|
||||
namespace Yavsc
|
||||
{
|
||||
public class GoogleAuthSettings
|
||||
{
|
||||
public string ApiKey { get; set; }
|
||||
|
||||
public string BrowserApiKey { get; set; }
|
||||
public string GoogleServiceAccountJson { get; set; }
|
||||
public string GoogleWebClientJson { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
19
src/Yavsc.Server/Settings/GoogleServiceAccount.cs
Normal file
19
src/Yavsc.Server/Settings/GoogleServiceAccount.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
public class GoogleServiceAccount
|
||||
{
|
||||
public string type { get; set; }
|
||||
public string project_id { get; set; }
|
||||
public string private_key_id { get; set; }
|
||||
public string private_key { get; set; }
|
||||
public string client_email { get; set; }
|
||||
public string client_id { get; set; }
|
||||
public string auth_uri { get; set; }
|
||||
public string token_uri { get; set; }
|
||||
public string auth_provider_x509_cert_url { get; set; }
|
||||
public string client_x509_cert_url { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
21
src/Yavsc.Server/Settings/OAuth2AppSettings.cs
Normal file
21
src/Yavsc.Server/Settings/OAuth2AppSettings.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
|
||||
namespace Yavsc
|
||||
{
|
||||
/// <summary>
|
||||
/// OAuth2 client application sensitive settings.
|
||||
/// </summary>
|
||||
public class OAuth2AppSettings {
|
||||
public string ClientId { get; set; }
|
||||
public string ClientSecret { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Facebook's class, so class
|
||||
/// </summary>
|
||||
public class FacebookOAuth2AppSettings : OAuth2AppSettings {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
57
src/Yavsc.Server/Settings/PayPalSettings.cs
Normal file
57
src/Yavsc.Server/Settings/PayPalSettings.cs
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
/// <summary>
|
||||
/// PayPal NV/SOAP API Credentials
|
||||
/// </summary>
|
||||
public class PayPalSettings {
|
||||
/// <summary>
|
||||
/// supported values: <c>sandbox</c> or <c>production</c>
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Mode { get; set; }
|
||||
/// <summary>
|
||||
/// Client Id using the REST API
|
||||
/// </summary>
|
||||
public string ClientId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Client Secret using the REST API
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string ClientSecret { get; set; }
|
||||
/// <summary>
|
||||
/// Application Id using the REST API
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string ApplicationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Get it from your PayPal Business profile settings
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string MerchantAccountId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Merchant PayPal Classic Api user name
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string MerchantAccountUserName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PayPal Classic Api credentials model
|
||||
/// </summary>
|
||||
public class ClassicPayPalAccountApiCredential {
|
||||
public string Signature { get; set; }
|
||||
public string ApiUsername { get; set; }
|
||||
public string ApiPassword { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Live access is configured at:
|
||||
/// https://www.paypal.com/businessprofile/mytools/apiaccess
|
||||
/// </summary>
|
||||
public ClassicPayPalAccountApiCredential[] Accounts { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
67
src/Yavsc.Server/Settings/SiteSettings.cs
Normal file
67
src/Yavsc.Server/Settings/SiteSettings.cs
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public class SiteSettings
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Slogan { get; set; }
|
||||
|
||||
public string Banner { get; set; }
|
||||
public string FavIcon { get; set; }
|
||||
public string Icon { get; set; }
|
||||
/// <summary>
|
||||
/// Conceptually,
|
||||
/// This authorisation server only has this present site as unique audience.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Audience { get; set; }
|
||||
/// <summary>
|
||||
/// it's a very small company, with one domaine name only,
|
||||
/// so let it be the same as in the Audience field.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Authority { get; set; }
|
||||
/// <summary>
|
||||
/// Owner's email
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public Contact Owner { get; set; }
|
||||
/// <summary>
|
||||
/// Administrator's email
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public Contact Admin { get; set; }
|
||||
|
||||
public string DataDir { get; set; }
|
||||
public string Avatars { get; set; }
|
||||
public long Quota { get; set; }
|
||||
public string Blog { get; set; }
|
||||
public string Bills { get; set; }
|
||||
public string GitRepository { get; set; } = "sources";
|
||||
|
||||
public string BusinessName { get; set; }
|
||||
public string Street { get; set; }
|
||||
public string PostalCode { get; set; }
|
||||
public string CountryCode { get; set; }
|
||||
|
||||
public string HomeViewName { get; set; }
|
||||
/// <summary>
|
||||
/// Specifies the directory where should be
|
||||
/// generated pdf files using pandoc
|
||||
/// </summary>
|
||||
/// <returns>The temporary directory to use</returns>
|
||||
public string TempDir { get; set; } = "Temp";
|
||||
|
||||
/// <summary>
|
||||
/// Only one performer will capture payments
|
||||
/// </summary>
|
||||
/// <returns>user capturing payments id</returns>
|
||||
public string OnlyOnePerformerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Only one activity will be supported
|
||||
/// </summary>
|
||||
/// <returns>the supported activity code</returns>
|
||||
public string OnlyOneActivityCode { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
12
src/Yavsc.Server/Settings/SmtpSettings.cs
Normal file
12
src/Yavsc.Server/Settings/SmtpSettings.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
public class SmtpSettings
|
||||
{
|
||||
public string Host { get; set; }
|
||||
public int Port { get; set; }
|
||||
|
||||
public bool EnableSSL { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
7
src/Yavsc.Server/Settings/ThirdPartyFiles.cs
Normal file
7
src/Yavsc.Server/Settings/ThirdPartyFiles.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
|
||||
public class ThirdPartyFiles {
|
||||
|
||||
}
|
||||
}
|
||||
10
src/Yavsc.Server/Settings/TwilioSettings.cs
Normal file
10
src/Yavsc.Server/Settings/TwilioSettings.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
public class TwilioSettings {
|
||||
public string AccountSID { get; set; }
|
||||
public string Token { get; set; }
|
||||
public string SMSAccountFrom { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue