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

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