/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="azureBusiness">The Azure Business object</param>
 /// <param name="appSettings">The Application Settings object</param>
 /// <param name="tokenBusiness">The Token Service object</param>
 /// <param name="logger">The Logger object</param>
 public AuthenticationController(IAzureBusiness azureBusiness,
                                 IOptions <AppSettings> appSettings,
                                 ITokenService tokenService,
                                 ILogger <AuthenticationController> logger)
 {
     this._azureBusiness = azureBusiness;
     this._appSettings   = appSettings.Value;
     this._tokenService  = tokenService;
     this._logger        = logger;
 }
Exemplo n.º 2
0
 public TrackerController(IAzureBusiness azureBusiness,
                          ITrackerBusiness trackerBusiness,
                          IMapper mapper,
                          ILogger <AuthenticationController> logger)
 {
     this._azureBusiness   = azureBusiness;
     this._trackerBusiness = trackerBusiness;
     this._mapper          = mapper;
     this._logger          = logger;
 }