public AuthController(UserManager <TodoUser> userManager, JwtSettings jwtSettings)
 {
     _userManager = userManager;
     _jwtSettings = jwtSettings;
 }
Exemplo n.º 2
0
 public AuthController(IUserService userService, JwtSettings jwtSettings)
 {
     _userService = userService ?? throw new ArgumentNullException(nameof(userService));
     _jwtSettings = jwtSettings ?? throw new ArgumentNullException(nameof(jwtSettings));
 }