public LoginService(IUserRepository userRepository,
                     IConfiguration config,
                     ITokenControllerRepository tokenControllerRepository,
                     ITransactionalUnitOfWork transactionalUnitOfWork,
                     IUsersGroupsRepository usersGroupsRepository,
                     IGroupsRepository groupsRepository,
                     IGroupsOuRepository groupsOuRepository,
                     ICompanyRepository companyRepository)
 {
     _userRepository            = userRepository;
     _config                    = config;
     _tokenControllerRepository = tokenControllerRepository;
     _transactionalUnitOfWork   = transactionalUnitOfWork;
     _encryptData               = new EncryptData();
     _usersGroupsRepository     = usersGroupsRepository;
     _groupsRepository          = groupsRepository;
     _groupsOuRepository        = groupsOuRepository;
     _companyRepository         = companyRepository;
 }
Esempio n. 2
0
 public TokenControllerRepositoryCacheProxy(ITokenControllerRepository tokenControllerRepository)
 {
     _tokenControllerRepository = tokenControllerRepository;
     _kvcacheVisitor            = CacheInnerHelper.CreateKVCacheVisitor(KVCacheVisitorSetting);
 }