ningshuxia
2024-05-27 f51ccee7e76f598c1f718190d216f96b5ea1ca46
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace Yw.Application.Auth
{
    /// <summary>
    /// 
    /// </summary>
    internal class ConfigHelper
    {
        /// <summary>
        /// 默认登录密码
        /// </summary>
        public static string DefaultLoginPwd
        {
            get { return Settings.Settings.ParasHelper.Auth.DefaultLoginPwd; }
        }
 
        /// <summary>
        /// 令牌过期时间 (分钟)
        /// </summary>
        public static int AccessTokenExpire
        {
            get { return Settings.Settings.ParasHelper.Auth.JWT.AccessTokenExpire; }
        }
 
        /// <summary>
        /// 刷新令牌过期时间
        /// </summary>
        public static int RefreshTokenExpire
        {
            get { return Settings.Settings.ParasHelper.Auth.JWT.RefreshTokenExpire; }
        }
 
    }
}