public AccountController(IAccountService accountService, ISessionService sessionService, ILoginHistoryService loginHistoryService, IEmailServerSettingService emailServerSettingService, IActionLogService actionLogService, ITokenService tokenService) { if (accountService == null) { throw new ArgumentNullException("AccountController.accountService"); } if (sessionService == null) { throw new ArgumentNullException("AccountController.sessionService"); } if (loginHistoryService == null) { throw new ArgumentNullException("AccountController.loginHistoryService"); } if (emailServerSettingService == null) { throw new ArgumentNullException("AccountController.emailServerSettingService"); } if (actionLogService == null) { throw new ArgumentNullException("AccountController.actionLogService"); } if (tokenService == null) { throw new ArgumentNullException("AccountController.tokenService"); } this._accountService = accountService; this._sessionService = sessionService; this._loginHistoryService = loginHistoryService; this._emailServerSettingService = emailServerSettingService; this._actionLogService = actionLogService; this._tokenService = tokenService; }
public AccountController( ILoginHistoryService historyService, UserManager <Account> accountManager, ILogger <AccountController> logger, SignInManager <Account> signInManager) { _historyService = historyService; _accountManager = accountManager; _logger = logger; _signInManager = signInManager; }
public AccountController(ILoginHistoryService historyService) { _historyService = historyService; }
public AuthenticationController(IConfiguration configuration, ILoginHistoryService historyService) { _configuration = configuration; _historyService = historyService; }
public AuthenticationController(IAuthService authenticationService, ILoginHistoryService loginHistoryService, IUserService userService) { this.authenticationService = authenticationService; this.loginHistoryService = loginHistoryService; this.userService = userService; }
public LoginHistoryController(ILoginHistoryService loginHistoryService) { _loginHistoryService = loginHistoryService; }