Beispiel #1
0
 public User(string name, string emailAddress, EncryptedPassword encryptedPassword)
 {
     Id = Guid.NewGuid();
     Name = name;
     Email = emailAddress;
     EncryptedPassword = encryptedPassword.Password;
 }
Beispiel #2
0
 public CreateUser(string email, EncryptedPassword password, string name, string phoneNumber)
 {
     Email = email;
     EncryptedPassword = password;
     Name = name;
     PhoneNumber = phoneNumber;
 }
 public CreateEmailLoginUser(string email, EncryptedPassword password, string name, string phoneNumber, IEnumerable<UserAbility> abilities)
 {
     Email = email;
     EncryptedPassword = password;
     Name = name;
     PhoneNumber = phoneNumber;
     this.abilities = abilities;
 }
Beispiel #4
0
 public User(string name, string emailAddress, EncryptedPassword encryptedPassword, string phoneNumber) :this(name, emailAddress, encryptedPassword)
 {
     PhoneNumber = phoneNumber;            
 }
Beispiel #5
0
 public ResetPassword(Guid resetPasswordToken, EncryptedPassword encryptedPassword)
 {
     ResetPasswordToken = resetPasswordToken;
     EncryptedPassword = encryptedPassword;
 }
Beispiel #6
0
 public virtual void ChangePassword(EncryptedPassword encryptedPassword)
 {
     EncryptedPassword = encryptedPassword.Password;
 }
Beispiel #7
0
 public UserEmailLogin(string name, string emailAddress, EncryptedPassword encryptedPassword):base(name,emailAddress)
 {
     
    
     EncryptedPassword = encryptedPassword.Password;
 }