TokenStatus.cs 602 B

12345678910111213141516171819202122232425262728
  1. using Muchinfo.MTPClient.Data.Helper;
  2. namespace Muchinfo.MTPClient.Data.Enums
  3. {
  4. /// <summary>
  5. /// 用户令牌状态
  6. /// </summary>
  7. public enum TokenStatus
  8. {
  9. /// <summary>
  10. /// 令牌有效
  11. /// </summary>
  12. [ItemDisc("TOKEN_STATUS_UNEXPIRED")]
  13. UnExpired = 1,
  14. /// <summary>
  15. /// 令牌过期
  16. /// </summary>
  17. [ItemDisc("TOKEN_STATUS_EXPIRED")]
  18. Expired = 2,
  19. /// <summary>
  20. /// 令牌已被更新
  21. /// </summary>
  22. [ItemDisc("TOKEN_STATUS_UPDATED")]
  23. Update = 3
  24. }
  25. }