Exemple #1
0
        public ZNxtUserServiceBaseUnitTest()
        {
            Environment.SetEnvironmentVariable("NPGSQLConnectionString", "Host=103.212.120.XXX;Username=root;Password=root;Database=identity;");
            _rDBService = new SqlRDBService(new HttpProxyMock());

            _zNxtUserService = new ZNxtUserRDBService(_rDBService, new MockUserNotifierService(), new MockLogger(), new MockApiGatewayService(), new MockTenantSetterService(), new MockinMemoryCacheService());
        }
Exemple #2
0
 public OTPLogin(IResponseBuilder responseBuilder, ILogger logger, IHttpContextProxy httpContextProxy, IDBService dBService, IZNxtUserService ZNxtUserService)
 {
     _responseBuilder  = responseBuilder;
     _httpContextProxy = httpContextProxy;
     _ZNxtUserService  = ZNxtUserService;
     _logger           = logger;
     _dBService        = dBService;
 }
Exemple #3
0
 public ClientController(IResponseBuilder responseBuilder, ILogger logger, IHttpContextProxy httpContextProxy, IDBService dBService, IRDBService rDBService, IZNxtUserService zNxtUserService)
     : base(httpContextProxy, dBService, logger, responseBuilder)
 {
     _responseBuilder  = responseBuilder;
     _httpContextProxy = httpContextProxy;
     _logger           = logger;
     _rDBService       = rDBService;
     _zNxtUserService  = zNxtUserService;
 }
 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;
 }
Exemple #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;
 }
 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;
 }
Exemple #7
0
 public ZNxtUserStore(IZNxtUserService userService, IApiGatewayService apiGatewayService, ILogger logger)
 {
     _userService       = userService;
     _apiGatewayService = apiGatewayService;
     _logger            = logger;
 }
Exemple #8
0
 public SchedulerController(IResponseBuilder responseBuilder, ILogger logger, IHttpContextProxy httpContextProxy, IDBService dBService, IKeyValueStorage keyValueStorage, IStaticContentHandler staticContentHandler, IApiGatewayService apiGatewayService, IZNxtUserService zNxtUserService)
 {
 }
Exemple #9
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);
 }
Exemple #10
0
 public ZNxtProfileService(IZNxtUserService userService, ILogger logger)
 {
     _userService = userService;
     _logger      = logger;
 }
Exemple #11
0
 public PasswordSetController(ZNxtUserStore zNxtUserStore, IZNxtUserService userService, IHttpContextProxy httpContextProxy)
 {
     _userService      = userService;
     _zNxtUserStore    = zNxtUserStore;
     _httpContextProxy = httpContextProxy;
 }
Exemple #12
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)
 {
 }