public StocksController(IStockService stockService, IAccountService accountService, IAuthenticatorProvider authenticatorProvider) { _stockService = stockService; _accountService = accountService; _authenticatorProvider = authenticatorProvider; }
/// <summary> /// Creates an AccountController with its dependencies. /// </summary> /// <param name="accountService">AccountService that should be injected.</param> /// <param name="authenticatorProvider">AuthenticationProvider that should be injected.</param> public AccountController(IAccountService accountService, IAuthenticatorProvider authenticatorProvider) { _accountService = accountService; _authenticatorProvider = authenticatorProvider; }
public BasicAuthenticationMessageHandler(IAuthenticatorProvider authenticatorProvider) { _authenticatorProvider = authenticatorProvider; }
public LoginController(IAuthenticatorProvider authenticatorProvider) { _authenticatorProvider = authenticatorProvider; }