From 6b15aa9c8e09054056e382757aaab5eae74a80df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B7=B3?= <454313500@qq.com> Date: Wed, 24 Jan 2024 11:29:59 +0800 Subject: [PATCH] =?UTF-8?q?stlyle:=20=E6=B7=BB=E5=8A=A0jwt=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Options/JwtOptions.cs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain.Shared/Options/JwtOptions.cs b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain.Shared/Options/JwtOptions.cs index d768eecf..bc819cd5 100644 --- a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain.Shared/Options/JwtOptions.cs +++ b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain.Shared/Options/JwtOptions.cs @@ -8,17 +8,12 @@ namespace Yi.Framework.Rbac.Domain.Shared.Options { public class JwtOptions { - public string Issuer { get; set; } + public string Issuer { get; set; } = "ccnetcore.com"; - public string Audience { get; set; } + public string Audience { get; set; } = "https//ccnetcore.com"; + public string SecurityKey { get; set; } = "892u4j1803qj23jro0fjkf8bmsdf9nb9mf92834u23jdf923jrnmvasbceqwt347562tgdhdnsv9wevbnop"; - public string RefreshIssuer { get; set; } - - public string RefreshAudience { get; set; } - - public string SecurityKey { get; set; } - - public long ExpiresMinuteTime { get; set; } + public long ExpiresMinuteTime { get; set; } = 120; } }