コード例 #1
0
 public HomeController(IBookService bookService, UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IEmailSender emailSender, TwoFactorService twoFactorService)
 {
     _bookService      = bookService;
     _userManager      = userManager;
     _signInManager    = signInManager;
     _emailSender      = emailSender;
     _twoFactorService = twoFactorService;
 }
コード例 #2
0
 public HomeController(UserManager <UserApp> userManager, SignInManager <UserApp> signInManager, TwoFactorService twoFactorService) : base(userManager, signInManager)
 {
     _twoFactorService = twoFactorService;
 }
 public TwoFactorAuthController(TwoFactorService twoFactorService)
 {
     _twoFactorService = twoFactorService;
 }
コード例 #4
0
 public TwoFactorController()
 {
     _service = new TwoFactorService();
 }