This commit is contained in:
parent
46f5c107b8
commit
fa34ed249b
233 changed files with 4000 additions and 1396 deletions
6
Yavsc/Settings/CompanyInfoSettings.cs
Normal file
6
Yavsc/Settings/CompanyInfoSettings.cs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public class CompanyInfoSettings {
|
||||
public string ApiKey { get; set; }
|
||||
}
|
||||
}
|
||||
10
Yavsc/Settings/EmailEntry.cs
Normal file
10
Yavsc/Settings/EmailEntry.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public class EmailEntry
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Address { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
11
Yavsc/Settings/GoogleAuthSettings.cs
Normal file
11
Yavsc/Settings/GoogleAuthSettings.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
public class GoogleAuthSettings
|
||||
{
|
||||
public string ApiKey { get; set; }
|
||||
public string ClientSecret { get; set; }
|
||||
public string ClientId { get; set; }
|
||||
public string BrowserApiKey { get; set; }
|
||||
}
|
||||
}
|
||||
21
Yavsc/Settings/OAuth2AppSettings.cs
Normal file
21
Yavsc/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 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
8
Yavsc/Settings/PayPalSettings.cs
Normal file
8
Yavsc/Settings/PayPalSettings.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public class PayPalSettings {
|
||||
public string Secret { get; set; }
|
||||
public string UserId { get; set; }
|
||||
public string Signature { get; set; }
|
||||
}
|
||||
}
|
||||
24
Yavsc/Settings/SiteSettings.cs
Normal file
24
Yavsc/Settings/SiteSettings.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public class SiteSettings
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Slogan { 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; }
|
||||
public EmailEntry Owner { get; set; }
|
||||
public EmailEntry Admin { get; set; }
|
||||
public ThirdPartyFiles UserFiles { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
12
Yavsc/Settings/SmtpSettings.cs
Normal file
12
Yavsc/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; }
|
||||
}
|
||||
|
||||
}
|
||||
8
Yavsc/Settings/ThirdPartyFiles.cs
Normal file
8
Yavsc/Settings/ThirdPartyFiles.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
|
||||
public class ThirdPartyFiles {
|
||||
public string DirName { get; set; }
|
||||
public string Quota { get; set; }
|
||||
}
|
||||
}
|
||||
10
Yavsc/Settings/TwilioSettings.cs
Normal file
10
Yavsc/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