public AccountController(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IJwtTokenCreator jwtTokenCreator)
 {
     _signInManager   = signInManager;
     _userManager     = userManager;
     _jwtTokenCreator = jwtTokenCreator;
 }
Exemple #2
0
 public LoginUserHandler(IAuthRepository repo, IMapper mapper, IJwtTokenCreator tokenCreator)
 {
     _repo         = repo;
     _mapper       = mapper;
     _tokenCreator = tokenCreator;
 }