using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace HuanMeng.DotNetCore.JwtInfrastructure
{
    /// <summary>
    /// 令牌
    /// </summary>
    public class JwtAuthResult
    {
        /// <summary>
        /// 当前token
        /// </summary>
        [JsonPropertyName("accessToken")]
        public string AccessToken { get; set; } = string.Empty;

        /// <summary>
        /// 刷新token
        /// </summary>
        [JsonPropertyName("refreshToken")]
        public JwtRefreshToken RefreshToken { get; set; } = new();
    }
}
