JwtOptions.cs 488 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HHECS.WebCommon.Options
{
    /// <summary>
    /// Jwt选项类
    /// </summary>
    public class JwtOptions
    {
        public const string Position = "Jwt";

        public string Issuer { get; set; }

        public string Audience { get; set; }

        public string SigningKey { get; set; }

        public int Expires { get; set; } = 20;
    }
}