Exemplo n.º 1
0
 public OAuthClientService(IDBService dBService, ILogger logger, IApiGatewayService apiGatewayService, IInMemoryCacheService inMemoryCacheService)
 {
     _inMemoryCacheService = inMemoryCacheService;
     _dBService            = dBService;
     _logger            = logger;
     _apiGatewayService = apiGatewayService;
 }
Exemplo n.º 2
0
 public ZNxtUserServiceBase(IUserNotifierService userNotifierService, ILogger logger, IApiGatewayService apiGatewayService, ITenantSetterService tenantSetterService)
 {
     _userNotifierService = userNotifierService;
     _logger              = logger;
     _apiGatewayService   = apiGatewayService;
     _tenantSetterService = tenantSetterService;
 }
Exemplo n.º 3
0
 public Routing(IDBService dbService, ILogger logger, IAssemblyLoader assemblyLoader, IApiGatewayService apiGatewayService)
 {
     _dbService         = dbService;
     _logger            = logger;
     _assemblyLoader    = assemblyLoader;
     _apiGatewayService = apiGatewayService;
     LoadRoutes();
 }
 public UserRegistrationController(IZNxtUserService ZNxtUserService, IUserNotifierService userNotifierService, IHttpContextProxy httpContextProxy, IResponseBuilder responseBuilder, IDBService dBService, IKeyValueStorage keyValueStorage, ILogger logger, IApiGatewayService apiGatewayService)
 {
     _responseBuilder     = responseBuilder;
     _httpContextProxy    = httpContextProxy;
     _logger              = logger;
     _ZNxtUserService     = ZNxtUserService;
     _userNotifierService = userNotifierService;
     _apiGatewayService   = apiGatewayService;
 }
Exemplo n.º 5
0
 public ForgetUsernamePasswordController(IZNxtUserService zNxtUserService, IUserNotifierService userNotifierService, IApiGatewayService apiGatewayService, ILogger logger, IResponseBuilder responseBuilder, IHttpContextProxy httpContextProxy)
 {
     _responseBuilder     = responseBuilder;
     _httpContextProxy    = httpContextProxy;
     _znxtUserService     = zNxtUserService;
     _userNotifierService = userNotifierService;
     _logger            = logger;
     _apiGatewayService = apiGatewayService;
 }
Exemplo n.º 6
0
 public IdentityControllerBase(IResponseBuilder responseBuilder, ILogger logger, IHttpContextProxy httpContextProxy, IDBService dBService, IKeyValueStorage keyValueStorage, IStaticContentHandler staticContentHandler, IApiGatewayService apiGatewayService, IZNxtUserService zNxtUserService)
     : base(httpContextProxy, dBService, logger, responseBuilder)
 {
     _responseBuilder   = responseBuilder;
     _httpContextProxy  = httpContextProxy;
     _logger            = logger;
     _dBService         = dBService;
     _apiGatewayService = apiGatewayService;
     _zNxtUserService   = zNxtUserService;
 }
Exemplo n.º 7
0
 public ModuleInstaller(IDBService dbService, IHttpFileUploader httpFileUploader, IKeyValueStorage keyValueStorage, IServiceResolver serviceResolver, IResponseBuilder responseBuilder, IHttpContextProxy httpContextProxy, IDBServiceConfig dbConfig, ILogger logger, IRouting routing, IApiGatewayService apiGateway)
 {
     _responseBuilder       = responseBuilder;
     _dbService             = dbService;
     _httpContextProxy      = httpContextProxy;
     _dbConfig              = dbConfig;
     _serviceResolver       = serviceResolver;
     _keyValueStorage       = keyValueStorage;
     _httpFileUploader      = httpFileUploader;
     _logger                = logger;
     _routing               = routing;
     _apiGateway            = apiGateway;
     _moduleInstallationKey = CommonUtility.GetAppConfigValue(CommonConst.CommonValue.APP_SECRET_CONFIG_KEY).Sha256Hash();
 }
Exemplo n.º 8
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;
 }
Exemplo n.º 9
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;
                }
            }
        }
Exemplo n.º 10
0
 public ApiDocController(IResponseBuilder responseBuilder, ILogger logger, IHttpContextProxy httpContextProxy, IDBService dBService, IApiGatewayService apiGatewayService)
     : base(httpContextProxy, dBService, logger, responseBuilder)
 {
     _apiGatewayService = apiGatewayService;
 }
Exemplo n.º 11
0
 public SchedulerController(IResponseBuilder responseBuilder, ILogger logger, IHttpContextProxy httpContextProxy, IDBService dBService, IKeyValueStorage keyValueStorage, IStaticContentHandler staticContentHandler, IApiGatewayService apiGatewayService, IZNxtUserService zNxtUserService)
 {
 }
Exemplo n.º 12
0
 public UserNotifierService(IApiGatewayService apiGatewayService, ILogger logger)
 {
     _apiGatewayService = apiGatewayService;
     _logger            = logger;
 }
Exemplo n.º 13
0
 public ClientController(IResponseBuilder responseBuilder, ILogger logger, IHttpContextProxy httpContextProxy, IDBService dBService, IKeyValueStorage keyValueStorage, IStaticContentHandler staticContentHandler, IApiGatewayService apiGatewayService, IZNxtUserService zNxtUserService)
     : base(responseBuilder, logger, httpContextProxy, dBService, keyValueStorage, staticContentHandler, apiGatewayService, zNxtUserService)
 {
 }
Exemplo n.º 14
0
 public InstallRemoteData(IDBService dbService, IHttpFileUploader httpFileUploader, IKeyValueStorage keyValueStorage, IServiceResolver serviceResolver, IResponseBuilder responseBuilder, IHttpContextProxy httpContextProxy, IDBServiceConfig dbConfig, ILogger logger, IRouting routing, IApiGatewayService apiGateway)
 {
     _responseBuilder  = responseBuilder;
     _dbService        = dbService;
     _httpContextProxy = httpContextProxy;
     _dbConfig         = dbConfig;
     _serviceResolver  = serviceResolver;
     _keyValueStorage  = keyValueStorage;
     _httpFileUploader = httpFileUploader;
     _logger           = logger;
 }
Exemplo n.º 15
0
 public IdentityController(IApiGatewayService apiGatewayService)
 {
     this.apiGatewayService = apiGatewayService;
 }
Exemplo n.º 16
0
 public ZNxtUserStore(IZNxtUserService userService, IApiGatewayService apiGatewayService, ILogger logger)
 {
     _userService       = userService;
     _apiGatewayService = apiGatewayService;
     _logger            = logger;
 }
Exemplo n.º 17
0
 public ZNxtUserRDBService(IRDBService rdBService, IUserNotifierService userNotifierService, ILogger logger, IApiGatewayService apiGatewayService, ITenantSetterService tenantSetterService, IInMemoryCacheService inMemoryCacheService) : base(
         userNotifierService, logger, apiGatewayService, tenantSetterService
         )
 {
     _rdBService           = rdBService;
     _inMemoryCacheService = inMemoryCacheService;
 }
Exemplo n.º 18
0
 public ZNxtUserService(IDBService dBService, IUserNotifierService userNotifierService, ILogger logger, IApiGatewayService apiGatewayService, ITenantSetterService tenantSetterService) : base(
         userNotifierService, logger, apiGatewayService, tenantSetterService
         )
 {
     _dBService = dBService;
 }
Exemplo n.º 19
0
 public OrdersController(IApiGatewayService apiGatewayService)
 {
     this.apiGatewayService = apiGatewayService;
 }
Exemplo n.º 20
0
 public TnCController(IHttpContextProxy httpContextProxy, IResponseBuilder responseBuilder, IDBService dBService, IKeyValueStorage keyValueStorage, IStaticContentHandler staticContentHandler, IApiGatewayService apiGatewayService, ILogger logger, IZNxtUserService zNxtUserService)
 {
     _responseBuilder  = responseBuilder;
     _httpContextProxy = httpContextProxy;
     _logger           = logger;
     _userController   = new UserController(responseBuilder, logger, httpContextProxy, dBService, keyValueStorage, staticContentHandler, apiGatewayService, zNxtUserService);
 }
Exemplo n.º 21
0
 public ProductsController(IApiGatewayService apiGatewayService)
 {
     this.apiGatewayService = apiGatewayService;
 }
Exemplo n.º 22
0
 public Auth2Controller(IHttpContextProxy httpContextProxy, ILogger logger, IApiGatewayService apiGatewayService)
 {
     _httpContextProxy  = httpContextProxy;
     _logger            = logger;
     _apiGatewayService = apiGatewayService;
 }