//var connections = _configuration.GetSection("ConnectionStrings").GetChildren().AsEnumerable();

        public SecurityController(IAuthenticationService authService, InventoryContext context)
        {
            this.authService = (LdapAuthenticationService)authService;
            _context         = context;
        }
Esempio n. 2
0
 public TokenController(IConfiguration config, InventoryContext context, IAuthenticationService authService)
 {
     _configuration   = config;
     _context         = context;
     this.authService = (LdapAuthenticationService)authService;
 }