diff options
author | 杨宇千 <crupest@outlook.com> | 2019-08-08 16:54:03 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-08-08 16:54:03 +0800 |
commit | d018e1c318646c6d7fecc8d3824129e9f1d5cf6c (patch) | |
tree | da11e395a3fd1340187fb785fc17e570171b942b /Timeline/Configs/JwtConfig.cs | |
parent | dc1ab11cea249f4ca967f86b115147a63f7c93a5 (diff) | |
parent | e283a3e745bad05a55c572646d7b20fbaaeb522d (diff) | |
download | timeline-d018e1c318646c6d7fecc8d3824129e9f1d5cf6c.tar.gz timeline-d018e1c318646c6d7fecc8d3824129e9f1d5cf6c.tar.bz2 timeline-d018e1c318646c6d7fecc8d3824129e9f1d5cf6c.zip |
Merge branch 'master' into null-request-field
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;
+ }
+}
|