Example #1
0
 public DistribuicaoController(IAgendaService agendaService, IAudienciaService audienciaService, ICasoService casoService, INewSessionService newSessionService, IFuncionarioService funcionarioService, ISessionService sessionService)
 {
     _agendaService      = agendaService;
     _audienciaService   = audienciaService;
     _newSessionService  = newSessionService;
     _sessionService     = sessionService;
     _funcionarioService = funcionarioService;
 }
        public NotLoggedInOnlyAttribute(ISessionService sessionService, INewSessionService newSessionService) : base(sessionService)
        {
            mainPageRedirectPath = new RedirectToRouteResult(new RouteValueDictionary
            {
                { "action", Constants.MAIN_PAGE_ACTION },
                { "controller", Constants.MAIN_PAGE_CONTROLLER }
            });

            _newSessionService = newSessionService;
        }
 public SessionController(Domain.Interfaces.Services.ApplicationServices.IUsuarioService usuarioService, ISessionService sessionService, ILoginService loginService, INewSessionService newSessionService, ILogger logger
                          , AuthenticateAttribute authenticateAttribute, TokenConfigurations tokenConfigurations)
 {
     _loginService          = loginService;
     _usuarioService        = usuarioService;
     _sessionService        = sessionService;
     _newSessionService     = newSessionService;
     _authenticateAttribute = authenticateAttribute;
     _logger = logger;
     _tokenConfigurations = tokenConfigurations;
 }
Example #4
0
 public ProcessosController(ICasoService casoService, IDadosComplementaresService dados, Domain.Interfaces.Services.ApplicationServices.IHierarquiaService hierarquiaService,
                            Domain.Interfaces.Services.ApplicationServices.IDadosComplementaresService dadosComplementaresService, INewSessionService newSessionService, IEnvolvimentoService envolvimentoService, ILogger logger, ISessionService sessionService)
 {
     _hierarquiaService          = hierarquiaService;
     _dadosComplementaresService = dadosComplementaresService;
     _casoService         = casoService;
     _dados               = dados;
     _newSessionService   = newSessionService;
     _sessionService      = sessionService;
     _envolvimentoService = envolvimentoService;
     _logger              = logger;
 }
        public AuthenticateAttribute(ISessionService sessionService, INewSessionService newSessionService, ILogger logger) : base(sessionService)
        {
            loginRedirectPath = new RedirectToRouteResult(new RouteValueDictionary
            {
                { "action", Constants.LOGIN_PAGE_ACTION },
                { "controller", Constants.LOGIN_PAGE_CONTROLLER }
            });

            _newSessionService = newSessionService;
            _sessionService    = sessionService;
            _logger            = logger;
        }
        public ApiAuthFilter(ISessionService sessionService, INewSessionService newSessionService, ILogger logger, TokenConfigurations tokenConfigurations) : base(sessionService)
        {
            loginRedirectPath = new RedirectToRouteResult(new RouteValueDictionary
            {
                { "action", "LogoutAngular" },
                { "controller", Constants.LOGIN_PAGE_CONTROLLER }
            });

            _newSessionService   = newSessionService;
            _sessionService      = sessionService;
            _logger              = logger;
            _tokenConfigurations = tokenConfigurations;
        }
 public DadosComplementaresService(SessionContextDataSingleton sessionContextData, IMapper mapper, INewSessionService newSessionService)
 {
     _mapper             = mapper;
     _sessionContextData = sessionContextData;
     _newSessionService  = newSessionService;
 }