1
0
mirror of https://e.coding.net/circlecloud/CTZLauncher.git synced 2024-11-15 00:58:50 +00:00
CTZLauncher/KMCCC.Shared/Authentication/AuthenticationInfo.cs

50 lines
1004 B
C#
Raw Normal View History

namespace KMCCC.Authentication
{
#region
using System;
using System.Collections.Generic;
#endregion
/// <summary>
/// 表示验证信息
/// </summary>
public class AuthenticationInfo
{
/// <summary>
/// 玩家的名字
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// UUID不解释
/// </summary>
2015-07-31 14:27:55 +00:00
public Guid? UUID { get; set; }
/// <summary>
/// Session不解释
/// </summary>
2015-07-31 14:27:55 +00:00
public Guid? AccessToken { get; set; }
/// <summary>
/// 各种属性比如Twitch的Session
/// </summary>
public string Properties { get; set; }
/// <summary>
/// 错误信息无错误则为null
/// </summary>
public string Error { get; set; }
/// <summary>
/// 用户类型Legacy or Mojang
/// </summary>
public string UserType { get; set; }
/// <summary>
/// 其他验证信息,一边用不着
/// </summary>
public Dictionary<string, string> AdvancedInfo { get; set; }
}
}