CTZLauncher/KMCCC.Shared/Authentication/AuthenticationInfo.cs

50 lines
1002 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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>
public Guid UUID { get; set; }
/// <summary>
/// Session不解释
/// </summary>
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; }
}
}