aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Configs/JwtConfig.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-02-21 11:59:58 +0800
committercrupest <crupest@outlook.com>2020-02-21 11:59:58 +0800
commit3fa9899e17df4b1012e8b645915ac15022b84f9b (patch)
treea143ff8698660608d188428957a1ad56d620cca6 /Timeline/Configs/JwtConfig.cs
parent1fe7642e88d373d8ed00a434cd7c73af422c261a (diff)
downloadtimeline-3fa9899e17df4b1012e8b645915ac15022b84f9b.tar.gz
timeline-3fa9899e17df4b1012e8b645915ac15022b84f9b.tar.bz2
timeline-3fa9899e17df4b1012e8b645915ac15022b84f9b.zip
Migrate to use sqlite.
Diffstat (limited to 'Timeline/Configs/JwtConfig.cs')
-rw-r--r--Timeline/Configs/JwtConfig.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/Timeline/Configs/JwtConfig.cs b/Timeline/Configs/JwtConfig.cs
deleted file mode 100644
index 8a17825e..00000000
--- a/Timeline/Configs/JwtConfig.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-namespace Timeline.Configs
-{
- public class JwtConfig
- {
- public string Issuer { get; set; } = default!;
- public string Audience { get; set; } = default!;
- public string SigningKey { get; set; } = default!;
-
- /// <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;
- }
-}