Example #1
0
 // Sign user in using authentication scheme configured via AuthHelper
 private async Task SignIn(User user)
 {
     await HttpContext.SignInAsync(
         AuthHelper.AuthenticationScheme,
         AuthHelper.BuildPrincipal(user)
         );
 }