stlyle: 添加jwt默认值

This commit is contained in:
陈淳
2024-01-24 11:29:59 +08:00
parent c9e01e0782
commit 6b15aa9c8e

View File

@@ -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;
}
}