summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/LogParserConfig.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 19:39:13 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 19:39:13 -0400
commitad5bb5b49af49c4668fd30fb2a0e606dcefe4ec0 (patch)
treee0bdd32fbfe91f7ab5e6cd3446a75b32d6e10e5c /src/SMAPI.Web/Framework/ConfigModels/LogParserConfig.cs
parentacbea9bfa33655048673a2292350aedb1d05a09a (diff)
downloadSMAPI-ad5bb5b49af49c4668fd30fb2a0e606dcefe4ec0.tar.gz
SMAPI-ad5bb5b49af49c4668fd30fb2a0e606dcefe4ec0.tar.bz2
SMAPI-ad5bb5b49af49c4668fd30fb2a0e606dcefe4ec0.zip
proxy Pastebin requests through our API instead of third parties, improve error-handling (#358)
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels/LogParserConfig.cs')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/LogParserConfig.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/LogParserConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/LogParserConfig.cs
new file mode 100644
index 00000000..5cb0cf95
--- /dev/null
+++ b/src/SMAPI.Web/Framework/ConfigModels/LogParserConfig.cs
@@ -0,0 +1,18 @@
+namespace StardewModdingAPI.Web.Framework.ConfigModels
+{
+ /// <summary>The config settings for the log parser.</summary>
+ internal class LogParserConfig
+ {
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The base URL for the Pastebin API.</summary>
+ public string PastebinBaseUrl { get; set; }
+
+ /// <summary>The user agent for the Pastebin API client, where {0} is the SMAPI version.</summary>
+ public string PastebinUserAgent { get; set; }
+
+ /// <summary>The developer key used to authenticate with the Pastebin API.</summary>
+ public string PastebinDevKey { get; set; }
+ }
+}