stlyle: 添加jwt默认值
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user