Beispiel #1
0
 public ZNxtUserRDBService(IRDBService rdBService, IUserNotifierService userNotifierService, ILogger logger, IApiGatewayService apiGatewayService, ITenantSetterService tenantSetterService, IInMemoryCacheService inMemoryCacheService) : base(
         userNotifierService, logger, apiGatewayService, tenantSetterService
         )
 {
     _rdBService           = rdBService;
     _inMemoryCacheService = inMemoryCacheService;
 }
 public OAuthClientService(IDBService dBService, ILogger logger, IApiGatewayService apiGatewayService, IInMemoryCacheService inMemoryCacheService)
 {
     _inMemoryCacheService = inMemoryCacheService;
     _dBService            = dBService;
     _logger            = logger;
     _apiGatewayService = apiGatewayService;
 }
Beispiel #3
0
 public EventDetailsService(
     ILogger <EventDetailsService> logger,
     IBlobStorageService blobStorageService,
     IInMemoryCacheService inMemoryCacheService)
 {
     _logger               = logger;
     _blobStorageService   = blobStorageService;
     _inMemoryCacheService = inMemoryCacheService;
 }
Beispiel #4
0
 public EventService(IEventDetailsService eventDetailsService,
                     IEventSessionizeService eventSessionizeService,
                     IInMemoryCacheService inMemoryCacheService,
                     ILogger <EventService> logger)
 {
     _eventDetailsService    = eventDetailsService;
     _eventSessionizeService = eventSessionizeService;
     _inMemoryCacheService   = inMemoryCacheService;
     _logger = logger;
 }
Beispiel #5
0
 public ApiHandler(RequestDelegate next, ILogger logger, IDBService dbService, IRouting routing,
                   IHttpContextProxy httpContextProxy, IAssemblyLoader assemblyLoader, IServiceResolver serviceResolver, IResponseBuilder responseBuilder,
                   IApiGatewayService apiGatewayService, IInMemoryCacheService inMemoryCacheService, IOAuthClientService oAuthClientService)
 {
     _next                 = next;
     _routing              = routing;
     _dbService            = dbService;
     _httpContextProxy     = httpContextProxy;
     _assemblyLoader       = assemblyLoader;
     _serviceResolver      = serviceResolver;
     _logger               = logger;
     _responseBuilder      = responseBuilder;
     _apiGatewayService    = apiGatewayService;
     _inMemoryCacheService = inMemoryCacheService;
     _oAuthClientService   = oAuthClientService;
 }
Beispiel #6
0
        public AppAuthTokenHandler(IDBService dBService, ILogger logger, IEncryption encryption, IOAuthClientService oAuthClientService, ZNxtUserStore users, IInMemoryCacheService inMemoryCacheService, IApiGatewayService apiGateway)
        {
            _dBService            = dBService;
            _logger               = logger;
            _encryption           = encryption;
            _oAuthClientService   = oAuthClientService;
            _userService          = users;
            _inMemoryCacheService = inMemoryCacheService;
            _apiGateway           = apiGateway;

            var data = CommonUtility.GetAppConfigValue("AppTokenValidationDuration");

            if (!string.IsNullOrEmpty(data))
            {
                long duration;
                if (long.TryParse(data, out duration))
                {
                    AppTokenValidationDuration = duration;
                }
            }
        }
Beispiel #7
0
 public ApiGatewayService(IInMemoryCacheService inMemoryCacheService, IHttpContextProxy httpContextProxy, ILogger logger)
 {
     _inMemoryCacheService = inMemoryCacheService;
     _httpContextProxy     = httpContextProxy;
     _logger = logger;
 }