Exemplo n.º 1
0
 public AuthenticationManager(UserRepository userRepository, DefaultUserProvider defaultUserProvider,
                              IHttpContextAccessor httpContextAccessor)
 {
     m_userRepository      = userRepository;
     m_defaultUserProvider = defaultUserProvider;
     m_httpContextAccessor = httpContextAccessor;
 }
Exemplo n.º 2
0
 public UpdateRoleWork(PermissionRepository permissionRepository, DefaultUserProvider defaultUserProvider,
                       CommunicationProvider communicationProvider, RoleContract data) : base(permissionRepository)
 {
     m_permissionRepository  = permissionRepository;
     m_defaultUserProvider   = defaultUserProvider;
     m_communicationProvider = communicationProvider;
     m_data = data;
 }
Exemplo n.º 3
0
 public DeleteRoleWork(PermissionRepository permissionRepository, DefaultUserProvider defaultUserProvider,
                       CommunicationProvider communicationProvider, int roleId) : base(permissionRepository)
 {
     m_permissionRepository  = permissionRepository;
     m_defaultUserProvider   = defaultUserProvider;
     m_communicationProvider = communicationProvider;
     m_roleId = roleId;
 }
Exemplo n.º 4
0
 public CreateProjectWork(ProjectRepository projectRepository, ProjectContract newData, int userId, DefaultUserProvider defaultUserProvider, IMapper mapper) : base(projectRepository)
 {
     m_projectRepository   = projectRepository;
     m_newData             = newData;
     m_userId              = userId;
     m_defaultUserProvider = defaultUserProvider;
     m_mapper              = mapper;
 }
Exemplo n.º 5
0
 public PermissionManager(PermissionRepository permissionRepository, CommunicationProvider communicationProvider,
                          DefaultUserProvider defaultUserProvider, ProjectPermissionConverter permissionConverter, IMapper mapper)
 {
     m_permissionRepository  = permissionRepository;
     m_communicationProvider = communicationProvider;
     m_defaultUserProvider   = defaultUserProvider;
     m_permissionConverter   = permissionConverter;
     m_mapper = mapper;
 }
Exemplo n.º 6
0
 public RoleManager(UserRepository userRepository, PermissionRepository permissionRepository,
                    CommunicationProvider communicationProvider, UserDetailManager userDetailManager, DefaultUserProvider defaultUserProvider,
                    AuthenticationManager authenticationManager, IMapper mapper, CodeGenerator codeGenerator)
 {
     m_userRepository        = userRepository;
     m_permissionRepository  = permissionRepository;
     m_communicationProvider = communicationProvider;
     m_userDetailManager     = userDetailManager;
     m_defaultUserProvider   = defaultUserProvider;
     m_authenticationManager = authenticationManager;
     m_mapper        = mapper;
     m_codeGenerator = codeGenerator;
 }
Exemplo n.º 7
0
 public ProjectManager(ProjectRepository projectRepository, MetadataRepository metadataRepository,
                       PermissionRepository permissionRepository, AuthenticationManager authenticationManager,
                       UserDetailManager userDetailManager, ForumSiteManager forumSiteManager, CommunicationProvider communicationProvider,
                       DefaultUserProvider defaultUserProvider, ProjectPermissionConverter projectPermissionConverter, IMapper mapper)
 {
     m_projectRepository          = projectRepository;
     m_metadataRepository         = metadataRepository;
     m_permissionRepository       = permissionRepository;
     m_authenticationManager      = authenticationManager;
     m_userDetailManager          = userDetailManager;
     m_forumSiteManager           = forumSiteManager;
     m_communicationProvider      = communicationProvider;
     m_defaultUserProvider        = defaultUserProvider;
     m_projectPermissionConverter = projectPermissionConverter;
     m_mapper = mapper;
 }