You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
954 B
C#
42 lines
954 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
/// <summary>
|
|
/// JWT验证 token实体
|
|
/// </summary>
|
|
namespace Common.Authentication
|
|
{
|
|
/// <summary>
|
|
/// token实体
|
|
/// </summary>
|
|
public class JwtTokenEntity
|
|
{
|
|
/// <summary>
|
|
/// 状态标识
|
|
/// </summary>
|
|
public bool Status { get; set; } = false;
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
public int code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 返回消息
|
|
/// </summary>
|
|
public string message { get; set; }
|
|
/// <summary>
|
|
/// token字符串
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// 过期时差
|
|
/// </summary>
|
|
public int expires_in { get; set; }
|
|
|
|
/// <summary>
|
|
/// 明文返回的附加数据
|
|
/// </summary>
|
|
public object Data { get; set; }
|
|
}
|
|
}
|