aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Configs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Configs')
-rw-r--r--Timeline/Configs/DatabaseConfig.cs14
-rw-r--r--Timeline/Configs/JwtConfig.cs30
2 files changed, 22 insertions, 22 deletions
diff --git a/Timeline/Configs/DatabaseConfig.cs b/Timeline/Configs/DatabaseConfig.cs
index 05dc630e..e24ecdfb 100644
--- a/Timeline/Configs/DatabaseConfig.cs
+++ b/Timeline/Configs/DatabaseConfig.cs
@@ -1,7 +1,7 @@
-namespace Timeline.Configs
-{
- public class DatabaseConfig
- {
- public string ConnectionString { get; set; }
- }
-}
+namespace Timeline.Configs
+{
+ public class DatabaseConfig
+ {
+ public string ConnectionString { get; set; }
+ }
+}
diff --git a/Timeline/Configs/JwtConfig.cs b/Timeline/Configs/JwtConfig.cs
index 4d5ef97f..8c61d7bc 100644
--- a/Timeline/Configs/JwtConfig.cs
+++ b/Timeline/Configs/JwtConfig.cs
@@ -1,15 +1,15 @@
-namespace Timeline.Configs
-{
- public class JwtConfig
- {
- public string Issuer { get; set; }
- public string Audience { get; set; }
- public string SigningKey { get; set; }
-
- /// <summary>
- /// Set the default value of expire offset of jwt token.
- /// Unit is second. Default is 3600 * 24 seconds, aka 1 day.
- /// </summary>
- public long DefaultExpireOffset { get; set; } = 3600 * 24;
- }
-}
+namespace Timeline.Configs
+{
+ public class JwtConfig
+ {
+ public string Issuer { get; set; }
+ public string Audience { get; set; }
+ public string SigningKey { get; set; }
+
+ /// <summary>
+ /// Set the default value of expire offset of jwt token.
+ /// Unit is second. Default is 3600 * 24 seconds, aka 1 day.
+ /// </summary>
+ public long DefaultExpireOffset { get; set; } = 3600 * 24;
+ }
+}