Ejemplo n.º 1
0
 public void Insert(LocalUser account)
 {
     return;
 }
Ejemplo n.º 2
0
 public override string CreateUserAndAccount(string userName, string password, bool requireConfirmation, IDictionary<string, object> values)
 {
     var account = new LocalUser {UserName = userName, Password = PasswordUtiltity.OneWayHash(password)};
     _userDao.Insert(account);
     return userName;
 }
Ejemplo n.º 3
0
 public override string CreateAccount(string userName, string password, bool requireConfirmationToken)
 {
     var account = new LocalUser { UserName = userName, Password = PasswordUtiltity.OneWayHash(password) };
     _userDao.Insert(account);
     return userName;
 }
Ejemplo n.º 4
0
        public override MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
        {
            var account = new LocalUser
                {
                    Email = email,
                    IsApproved = true,
                    Password = PasswordUtiltity.OneWayHash(password),
                    PasswordAnswer = passwordAnswer,
                    PasswordQuestion = passwordQuestion,
                    ProviderUserKey = providerUserKey,
                    UserName = username,
                };

            //repo.add

            status = MembershipCreateStatus.Success;

            return GetUser(username, userIsOnline: true);
        }
Ejemplo n.º 5
0
 public void UpdateAccount(LocalUser account)
 {
     return;
 }