StableVersion4.3/HL_FristAidPlatform_Token/JwtAuthConfigModel.cs

24 lines
495 B
C#
Raw Normal View History

2024-03-11 09:47:34 +08:00
using System;
namespace HL_FristAidPlatform_Token
{
public class JwtAuthConfigModel : BaseConfigModel
{
/// <summary>
///
/// </summary>
public string JWTSecretKey = "admin";
public JwtAuthConfigModel()
{
try
{
JWTSecretKey = Configuration["JwtAuth:SecurityKey"];
}
catch (Exception e)
{
Console.WriteLine(e);
}
}
}
}