public AccountController(UserManager <User> userManager, ShopDbContext context, ITokenService tokenService, IOptions <AppSettingsOptions> appSettings, IAuthService authService, IMfaService mfaService)
 {
     _userManager  = userManager;
     _context      = context;
     _tokenService = tokenService;
     _appSettings  = appSettings.Value;
     _authService  = authService;
     _mfaService   = mfaService;
 }
Example #2
0
 public WeatherForecastController(ILogger <WeatherForecastController> logger, IMfaService mfaService, UserManager <User> userManager)
 {
     _logger      = logger;
     _mfaService  = mfaService;
     _userManager = userManager;
 }