diff options
author | crupest <crupest@outlook.com> | 2021-04-24 22:01:27 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-24 22:01:27 +0800 |
commit | 7d965bedbb48aed900f838d0fe65931143e5619e (patch) | |
tree | d4ae5c7d0c81ccb2e1fae378797f673acf2ce14b /BackEnd/Timeline/Configs/JwtConfiguration.cs | |
parent | 9adfa3c8311f4ace9388dc805f1a4df6fba97f0e (diff) | |
download | timeline-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.cs | 14 |
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;
- }
-}
|