public async void PasswordTesting()
        {
            NHibernateUserStore store = new NHibernateUserStore();
            var usr = await store.FindByIdAsync("ef9826e1-86b8-41c4-8716-a9e60123db20");

            await store.SetPasswordAsync(usr, "test2");
        }
Exemplo n.º 2
0
        public async void PasswordTesting()
        {
            NHibernateUserStore store = new NHibernateUserStore();
            var usr = await store.FindByNameAsync("*****@*****.**");

            await store.SetPasswordAsync(usr, "test2");
        }
        public async void createUser()
        {
            NHibernateUserStore store = new NHibernateUserStore();
            var usr = new UserModel()
            {
                FirstName = "cons",
                LastName  = "mname",
                UserName  = "******"
            };

            CreateUser(usr);
            await store.SetPasswordAsync(usr, "test2");
        }