public CreateUser(string email, EncryptedPassword password, string name, string phoneNumber) { Email = email; EncryptedPassword = password; Name = name; PhoneNumber = phoneNumber; }
public User(Guid id, string name, string emailAddress, EncryptedPassword encryptedPassword) { Id = id; Name = name; Email = emailAddress; EncryptedPassword = encryptedPassword.Password; }
public virtual void ChangePassword(EncryptedPassword encryptedPassword) { EncryptedPassword = encryptedPassword.Password; }
public User(Guid id, string name, string emailAddress, EncryptedPassword encryptedPassword, string phoneNumber) : this(id, name, emailAddress, encryptedPassword) { PhoneNumber = phoneNumber; }
public ResetPassword(Guid resetPasswordToken, EncryptedPassword encryptedPassword) { ResetPasswordToken = resetPasswordToken; EncryptedPassword = encryptedPassword; }