Exemple #1
0
 public User(string name, string emailAddress, EncryptedPassword encryptedPassword)
 {
     Id = Guid.NewGuid();
     Name = name;
     Email = emailAddress;
     EncryptedPassword = encryptedPassword.Password;
 }
Exemple #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;
 }
Exemple #4
0
 public User(string name, string emailAddress, EncryptedPassword encryptedPassword, string phoneNumber) :this(name, emailAddress, encryptedPassword)
 {
     PhoneNumber = phoneNumber;            
 }
 public ResetPassword(Guid resetPasswordToken, EncryptedPassword encryptedPassword)
 {
     ResetPasswordToken = resetPasswordToken;
     EncryptedPassword = encryptedPassword;
 }
 public virtual void ChangePassword(EncryptedPassword encryptedPassword)
 {
     EncryptedPassword = encryptedPassword.Password;
 }
 public UserEmailLogin(string name, string emailAddress, EncryptedPassword encryptedPassword):base(name,emailAddress)
 {
     
    
     EncryptedPassword = encryptedPassword.Password;
 }