网站首页 网站源码
using System;
using System.Runtime.Serialization;
namespace Dpz.Core.Public.ViewModel.Response;
/// <summary>
/// 身份认证 出参
/// </summary>
/// <param name="Expires">过期时间</param>
/// <param name="Token">JWT Token</param>
/// <param name="RefreshToken">刷新Token key</param>
/// <param name="Account">用户信息</param>
[DataContract]
public record AuthenticatedResponse(
DateTime Expires,
string Token,
string RefreshToken,
VmUserInfo Account
);