华恒Mes鼎捷代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
969 B

5 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. namespace WebApplication1.Models
  4. {
  5. // AccountController 操作返回的模型。
  6. public class ExternalLoginViewModel
  7. {
  8. public string Name { get; set; }
  9. public string Url { get; set; }
  10. public string State { get; set; }
  11. }
  12. public class ManageInfoViewModel
  13. {
  14. public string LocalLoginProvider { get; set; }
  15. public string Email { get; set; }
  16. public IEnumerable<UserLoginInfoViewModel> Logins { get; set; }
  17. public IEnumerable<ExternalLoginViewModel> ExternalLoginProviders { get; set; }
  18. }
  19. public class UserInfoViewModel
  20. {
  21. public string Email { get; set; }
  22. public bool HasRegistered { get; set; }
  23. public string LoginProvider { get; set; }
  24. }
  25. public class UserLoginInfoViewModel
  26. {
  27. public string LoginProvider { get; set; }
  28. public string ProviderKey { get; set; }
  29. }
  30. }