You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
799 B
33 lines
799 B
namespace Znyc.Cloudcar.Admin.Commons.Options
|
|
{
|
|
/// <summary>
|
|
/// JsonWebToken配置模型。
|
|
/// </summary>
|
|
public class JwtOption
|
|
{
|
|
/// <summary>
|
|
/// 签发者。
|
|
/// </summary>
|
|
public string Issuer { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收发者。
|
|
/// </summary>
|
|
public string Audience { get; set; }
|
|
|
|
/// <summary>
|
|
/// 密钥。
|
|
/// </summary>
|
|
public string Secret { get; set; }
|
|
|
|
/// <summary>
|
|
/// Token有效期(单位:分钟)。
|
|
/// </summary>
|
|
public int Expiration { get; set; }
|
|
|
|
/// <summary>
|
|
/// Token有效刷新时间(单位:分钟)。
|
|
/// </summary>
|
|
public int refreshJwtTime { get; set; }
|
|
}
|
|
}
|