summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-21 15:41:55 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-21 15:41:55 -0500
commit242dc718cdedf2c7a264670008b9f760eba160d9 (patch)
treea8fc18201ae4ba8b3ff9b1652c8e0eeeff890b36 /src/SMAPI.Web/Framework/ConfigModels
parent02f645900eb31648376abe21df30dd956221ad90 (diff)
downloadSMAPI-242dc718cdedf2c7a264670008b9f760eba160d9.tar.gz
SMAPI-242dc718cdedf2c7a264670008b9f760eba160d9.tar.bz2
SMAPI-242dc718cdedf2c7a264670008b9f760eba160d9.zip
switch to Azure Blob storage for saving files
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs
index e88f351f..4a73750b 100644
--- a/src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs
+++ b/src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs
@@ -30,6 +30,19 @@ namespace StardewModdingAPI.Web.Framework.ConfigModels
/****
+ ** Azure
+ ****/
+ /// <summary>The connection string for the Azure Blob storage account.</summary>
+ public string AzureBlobConnectionString { get; set; }
+
+ /// <summary>The Azure Blob container in which to store temporary uploaded logs.</summary>
+ public string AzureBlobTempContainer { get; set; }
+
+ /// <summary>The number of days since the blob's last-modified date when it will be deleted.</summary>
+ public int AzureBlobTempExpiryDays { get; set; }
+
+
+ /****
** Chucklefish
****/
/// <summary>The base URL for the Chucklefish mod site.</summary>
@@ -61,6 +74,7 @@ namespace StardewModdingAPI.Web.Framework.ConfigModels
/// <summary>The password with which to authenticate to the GitHub API (if any).</summary>
public string GitHubPassword { get; set; }
+
/****
** ModDrop
****/
@@ -70,6 +84,7 @@ namespace StardewModdingAPI.Web.Framework.ConfigModels
/// <summary>The URL for a ModDrop mod page for the user, where {0} is the mod ID.</summary>
public string ModDropModPageUrl { get; set; }
+
/****
** Nexus Mods
****/
@@ -85,20 +100,11 @@ namespace StardewModdingAPI.Web.Framework.ConfigModels
/// <summary>The Nexus API authentication key.</summary>
public string NexusApiKey { get; set; }
+
/****
** Pastebin
****/
/// <summary>The base URL for the Pastebin API.</summary>
public string PastebinBaseUrl { get; set; }
-
- /// <summary>The user key used to authenticate with the Pastebin API.</summary>
- public string PastebinUserKey { get; set; }
-
- /// <summary>The developer key used to authenticate with the Pastebin API.</summary>
- public string PastebinDevKey { get; set; }
-
- /// <summary>Whether to enable uploading new files to Pastebin. This doesn't affect fetching already-uploaded files.</summary>
- public bool PastebinEnableUploads { get; set; }
-
}
}