Esempio n. 1
0
 public ChangePasswordBusiness(
     IChangePasswordStrategy changePasswordStrategy,
     IUserBusiness userBusiness,
     IPasswordHasher passwordHasher)
 {
     this.changePasswordStrategy = changePasswordStrategy;
     this.userBusiness = userBusiness;
     this.passwordHasher = passwordHasher;
 }
Esempio n. 2
0
 public PasswordResetBusiness(
     IPasswordResetData data,
     IUserBusiness userBusiness,
     IChangePasswordStrategy changePasswordStrategy,
     IValidatePasswordResetKeyBusiness validatePasswordResetKeyBusiness)
 {
     this.data                             = data;
     this.userBusiness                     = userBusiness;
     this.changePasswordStrategy           = changePasswordStrategy;
     this.validatePasswordResetKeyBusiness = validatePasswordResetKeyBusiness;
 }