aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Configs/JwtConfiguration.cs
blob: af8052de5d3d2afd5063d8dae619350e110f0a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace Timeline.Configs
{
    public class JwtConfiguration
    {
        public string Issuer { get; set; } = default!;
        public string Audience { get; set; } = default!;

        /// <summary>
        /// Set the default value of expire offset of jwt token.
        /// Unit is second. Default is 3600 * 24 seconds, aka 1 day.
        /// </summary>
        public long DefaultExpireOffset { get; set; } = 3600 * 24;
    }
}