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 | ed85aa28b49789aa413a7e10637368c812411640 (patch) | |
tree | da11e395a3fd1340187fb785fc17e570171b942b /Timeline/Configs/JwtConfig.cs | |
parent | 57151c879376374425adb04fb68dad2cf7930df8 (diff) | |
parent | 29bd71cd93b03248254f341aff9252374abc74ec (diff) | |
download | timeline-ed85aa28b49789aa413a7e10637368c812411640.tar.gz timeline-ed85aa28b49789aa413a7e10637368c812411640.tar.bz2 timeline-ed85aa28b49789aa413a7e10637368c812411640.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;
+ }
+}
|