This commit is contained in:
Paul Schneider 2016-06-07 14:32:43 +02:00
commit fa34ed249b
233 changed files with 4000 additions and 1396 deletions

View file

@ -0,0 +1,6 @@
namespace Yavsc
{
public class CompanyInfoSettings {
public string ApiKey { get; set; }
}
}

View file

@ -0,0 +1,10 @@
namespace Yavsc
{
public class EmailEntry
{
public string Name { get; set; }
public string Address { get; set; }
}
}

View 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; }
}
}

View 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 {
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View file

@ -0,0 +1,8 @@
namespace Yavsc
{
public class ThirdPartyFiles {
public string DirName { get; set; }
public string Quota { get; set; }
}
}

View 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; }
}
}