public Handler(DataContext context, UserManager <Domain.User> userManager, IJWTGen jwtGenerator)
 {
     _jwtGenerator = jwtGenerator;
     _userManager  = userManager;
     _context      = context;
 }
Exemple #2
0
 public Handler(UserManager <Domain.User> userManager, IJWTGen jwtGenerator, IUserAccessor userAccessor)
 {
     _userAccessor = userAccessor;
     _jwtGenerator = jwtGenerator;
     _userManager  = userManager;
 }
Exemple #3
0
 // private readonly SignInManager<Domain.User> _signInManager;
 public Handler(UserManager <Domain.User> userManager, IJWTGen jWTGen)
 {
     _jwtGen = jWTGen;
     // _signInManager = signInManager;
     _userManager = userManager;
 }