Beispiel #1
0
 public Task <bool> LogInAsync(UserE user, string password, bool persistCookie = true)
 {
     return(Task <bool> .Factory.StartNew(() => LogIn(user, password, persistCookie)));
 }
Beispiel #2
0
 public Task <IdentityResult> RegisterUserAsync(UserE user, string password)
 {
     return(_manager.CreateAsync(user, password));
 }
Beispiel #3
0
 public Task <IdentityResult> CreateAndLoginAsync(UserE user, string password)
 {
     return(Task <IdentityResult> .Factory.StartNew(() => CreateAndLogin(user, password)));
 }
Beispiel #4
0
 public bool LogIn(UserE user, string password, bool persistCookie = true)
 {
     return(LogIn(user.UserName, password, persistCookie));
 }