aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Configs/JwtConfiguration.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-24 22:01:27 +0800
committercrupest <crupest@outlook.com>2021-04-24 22:01:27 +0800
commit7d965bedbb48aed900f838d0fe65931143e5619e (patch)
treed4ae5c7d0c81ccb2e1fae378797f673acf2ce14b /BackEnd/Timeline/Configs/JwtConfiguration.cs
parent9adfa3c8311f4ace9388dc805f1a4df6fba97f0e (diff)
downloadtimeline-7d965bedbb48aed900f838d0fe65931143e5619e.tar.gz
timeline-7d965bedbb48aed900f838d0fe65931143e5619e.tar.bz2
timeline-7d965bedbb48aed900f838d0fe65931143e5619e.zip
refactor: Move token services.
Diffstat (limited to 'BackEnd/Timeline/Configs/JwtConfiguration.cs')
-rw-r--r--BackEnd/Timeline/Configs/JwtConfiguration.cs14
1 files changed, 0 insertions, 14 deletions
diff --git a/BackEnd/Timeline/Configs/JwtConfiguration.cs b/BackEnd/Timeline/Configs/JwtConfiguration.cs
deleted file mode 100644
index af8052de..00000000
--- a/BackEnd/Timeline/Configs/JwtConfiguration.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-namespace Timeline.Configs
-{
- public class JwtConfiguration
- {
- public string Issuer { get; set; } = default!;
- public string Audience { 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;
- }
-}