- Timestamp:
- 06/25/10 16:30:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Services.Authentication Prototype/Persistence/HeuristicLabUser.cs
r3943 r3948 72 72 } 73 73 74 //75 // Summary:76 // Gets the password for the membership user from the membership data store.77 //78 // Parameters:79 // passwordAnswer:80 // The password answer for the membership user.81 //82 // Returns:83 // The password for the membership user.84 74 public override string GetPassword(string passwordAnswer) { 85 throw new NotImplementedException(); 75 if (PasswordAnswer == passwordAnswer) { 76 return Password; 77 } else { 78 return ""; 79 } 86 80 } 87 81 88 //89 // Summary:90 // Resets a user's password to a new, automatically generated password.91 //92 // Returns:93 // The new password for the membership user.94 82 public override string ResetPassword() { 95 throw new NotImplementedException(); 83 Password = "INIT"; 84 return Password; 96 85 } 97 86 98 //99 // Summary:100 // Resets a user's password to a new, automatically generated password.101 //102 // Parameters:103 // passwordAnswer:104 // The password answer for the membership user.105 //106 // Returns:107 // The new password for the membership user.108 87 public override string ResetPassword(string passwordAnswer) { 109 throw new NotImplementedException(); 88 if (PasswordAnswer == passwordAnswer) { 89 Password = "INIT"; 90 return Password; 91 } else { 92 return ""; 93 } 110 94 } 111 95
Note: See TracChangeset
for help on using the changeset viewer.