- Timestamp:
- 03/29/16 17:02:16 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/ViewModels/LoginViewModel.cs
r13733 r13739 12 12 public class LoginViewModel 13 13 { 14 /// <summary> 15 /// Used only for the WebHive. Identifies logged in users. 16 /// </summary> 17 public Guid userId { get; set; } 18 /// <summary> 19 /// Login name from the user 20 /// </summary> 14 21 [Display(Name = "Username")] 15 22 public string loginName { get; set; } 23 /// <summary> 24 /// Encrypted password 25 /// </summary> 16 26 [Display(Name = "Password")] 17 27 public string password { get; set; } 18 28 19 29 public string errorMessage { get; set; } 30 /// <summary> 31 /// Initialize the loginViewModel. Creates a unique Guid for the WebHive 32 /// </summary> 33 /// <param name="n">Login name</param> 34 /// <param name="p">Encrypted password</param> 35 public LoginViewModel(string n, string p) 36 { 37 loginName = n; 38 password = p; 39 userId = Guid.NewGuid(); 40 } 41 public LoginViewModel() 42 { 43 userId = Guid.Empty; 44 loginName = ""; 45 password = ""; 46 } 20 47 } 21 48 }
Note: See TracChangeset
for help on using the changeset viewer.