You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
850 B
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Text;
namespace Estsh.Core.Config
{
/// <summary>
/// JsonWebToken配置模型。
/// </summary>
public class JwtConfig
{
/// <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; }
}
}