diff options
author | unknown <crupest@outlook.com> | 2019-08-07 17:38:56 +0800 |
---|---|---|
committer | unknown <crupest@outlook.com> | 2019-08-07 17:38:56 +0800 |
commit | e283a3e745bad05a55c572646d7b20fbaaeb522d (patch) | |
tree | df5d1325c3b73b17f4f86b71097775e9ce3fa122 /Timeline/Configs/JwtConfig.cs | |
parent | 5f5458518df0475fa36af754cae52eb31eb92fa3 (diff) | |
download | timeline-e283a3e745bad05a55c572646d7b20fbaaeb522d.tar.gz timeline-e283a3e745bad05a55c572646d7b20fbaaeb522d.tar.bz2 timeline-e283a3e745bad05a55c572646d7b20fbaaeb522d.zip |
Add script to convert encoding and eof. And of course run it.
Diffstat (limited to 'Timeline/Configs/JwtConfig.cs')
-rw-r--r-- | Timeline/Configs/JwtConfig.cs | 30 |
1 files changed, 15 insertions, 15 deletions
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;
+ }
+}
|