Exemplo n.º 1
0
 public CreateUser(string email, EncryptedPassword password, string name, string phoneNumber)
 {
     Email = email;
     EncryptedPassword = password;
     Name = name;
     PhoneNumber = phoneNumber;
 }
Exemplo n.º 2
0
 public User(Guid id, string name, string emailAddress, EncryptedPassword encryptedPassword)
 {
     Id = id;
     Name = name;
     Email = emailAddress;
     EncryptedPassword = encryptedPassword.Password;
 }
Exemplo n.º 3
0
 public virtual void ChangePassword(EncryptedPassword encryptedPassword)
 {
     EncryptedPassword = encryptedPassword.Password;
 }
Exemplo n.º 4
0
 public User(Guid id, string name, string emailAddress, EncryptedPassword encryptedPassword, string phoneNumber)
     : this(id, name, emailAddress, encryptedPassword)
 {
     PhoneNumber = phoneNumber;
 }
Exemplo n.º 5
0
 public ResetPassword(Guid resetPasswordToken, EncryptedPassword encryptedPassword)
 {
     ResetPasswordToken = resetPasswordToken;
     EncryptedPassword = encryptedPassword;
 }