mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
47 lines
2.0 KiB
C#
47 lines
2.0 KiB
C#
namespace Configuration;
|
|
|
|
public static class ConfigurationKeys
|
|
{
|
|
public const string AccessTokenSecret = "ACCESS_TOKEN_SECRET";
|
|
public const string RefreshTokenSecret = "REFRESH_TOKEN_SECRET";
|
|
public const string ConfirmationTokenSecret = "CONFIRMATION_TOKEN_SECRET";
|
|
|
|
/// <summary>
|
|
/// Fallback configuration section path for the access-token signing key, checked when
|
|
/// <see cref="AccessTokenSecret" /> is not set.
|
|
/// </summary>
|
|
public const string JwtSecretKeyFallback = "Jwt:SecretKey";
|
|
|
|
public const string WebsiteBaseUrl = "WEBSITE_BASE_URL";
|
|
|
|
public const string SmtpHost = "SMTP_HOST";
|
|
public const string SmtpPort = "SMTP_PORT";
|
|
public const string SmtpUsername = "SMTP_USERNAME";
|
|
public const string SmtpPassword = "SMTP_PASSWORD";
|
|
public const string SmtpUseSsl = "SMTP_USE_SSL";
|
|
public const string SmtpFromEmail = "SMTP_FROM_EMAIL";
|
|
public const string SmtpFromName = "SMTP_FROM_NAME";
|
|
|
|
public const string SeaweedFsServiceUrl = "SEAWEEDFS_SERVICE_URL";
|
|
|
|
/// <summary>
|
|
/// The browser-reachable base URL of the object store, used to sign download URLs. Falls back to
|
|
/// <see cref="SeaweedFsServiceUrl" /> when unset: SigV4 covers the host, so a URL signed against
|
|
/// the container-internal endpoint is only usable by callers that can resolve that host.
|
|
/// </summary>
|
|
public const string SeaweedFsPublicUrl = "SEAWEEDFS_PUBLIC_URL";
|
|
|
|
public const string SeaweedFsAccessKeyId = "SEAWEEDFS_ACCESS_KEY_ID";
|
|
public const string SeaweedFsSecretAccessKey = "SEAWEEDFS_SECRET_ACCESS_KEY";
|
|
public const string SeaweedFsBucket = "SEAWEEDFS_BUCKET";
|
|
|
|
public const string DbServer = "DB_SERVER";
|
|
public const string DbUser = "DB_USER";
|
|
public const string DbPassword = "DB_PASSWORD";
|
|
public const string DbName = "DB_NAME";
|
|
public const string DbConnectionString = "DB_CONNECTION_STRING";
|
|
public const string DbTrustServerCertificate = "DB_TRUST_SERVER_CERTIFICATE";
|
|
|
|
public const string ClearDatabase = "CLEAR_DATABASE";
|
|
}
|