public CusAuthenticationProcessor(IClientAuthenticationRepository clientAuthenticationRepository,
                                   CusOcelotConfiguration options,
                                   IOcelotCache <ClientRoleModel> ocelotCache)
 {
     _clientAuthenticationRepository = clientAuthenticationRepository;
     _options     = options;
     _ocelotCache = ocelotCache;
 }
Ejemplo n.º 2
0
 public CzarCacheController(IClientAuthenticationRepository clientAuthenticationRepository, CzarOcelotConfiguration options,
                            IFileConfigurationRepository fileConfigurationRepository,
                            IInternalConfigurationCreator internalConfigurationCreator,
                            IClientRateLimitRepository clientRateLimitRepository,
                            IRpcRepository rpcRepository,
                            IMemoryCache cache)
 {
     _clientAuthenticationRepository = clientAuthenticationRepository;
     _options = options;
     _fileConfigurationRepository  = fileConfigurationRepository;
     _internalConfigurationCreator = internalConfigurationCreator;
     _clientRateLimitRepository    = clientRateLimitRepository;
     _rpcRepository = rpcRepository;
     _cache         = cache;
 }