[feat]增加WinForm客户端例程,主要为了测试同步调用异步方法等场景
大石头 authored at 2024-11-23 22:58:12
569.00 B
NewLife.Remoting
namespace NewLife.Remoting.Extensions.Models;

/// <summary>访问令牌输入参数</summary>
public class TokenInModel
{
    /// <summary>授权类型</summary>
    public String? grant_type { get; set; }

    /// <summary>用户名</summary>
    public String? UserName { get; set; }

    /// <summary>密码</summary>
    public String? Password { get; set; }

    /// <summary>客户端唯一标识。一般是IP@进程</summary>
    public String? ClientId { get; set; }

    /// <summary>刷新令牌</summary>
    public String? refresh_token { get; set; }
}