Exemplo n.º 1
0
 public SysLoginController(IHttpContextAccessor phttpContextAccessor, ILogger <SysLoginController> plogger, ISysTokenService pTokenService, ISysLoginService pLoginService,
                           ISysMenuService pMenuService, ISysPermissionService pPermissionService)
 {
     logger                   = plogger;
     tokenService             = pTokenService;
     loginService             = pLoginService;
     menuService              = pMenuService;
     permissionService        = pPermissionService;
     this.httpContextAccessor = phttpContextAccessor;
 }
Exemplo n.º 2
0
 public PermissionAuthorizationHandler(ISysLoginService sysLoginService)
 {
     _sysLoginService = sysLoginService;
 }
 public AccountController(ISysLoginService sysLoginService)
 {
     _sysLoginService = sysLoginService;
 }
 public AccountController(ISysLoginService sysLoginService, IHostingEnvironment env, IOptionsMonitor <WebAppOptions> webAppOptions)
 {
     _sysLoginService = sysLoginService;
     _env             = env;
     _webAppOptions   = webAppOptions.CurrentValue;
 }
 public NavigationViewComponent(ISysLoginService sysLoginService)
 {
     _sysLoginService = sysLoginService;
 }