Exemplo n.º 1
0
 public StocksController(IStockService stockService, IAccountService accountService, IAuthenticatorProvider authenticatorProvider)
 {
     _stockService          = stockService;
     _accountService        = accountService;
     _authenticatorProvider = authenticatorProvider;
 }
Exemplo n.º 2
0
 /// <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;
 }