public LogFailedLoginAttemptCommandHandler(
     IEntityFrameworkSqlExecutor sqlExecutor,
     IClientConnectionService clientConnectionService
     )
 {
     _sqlExecutor             = sqlExecutor;
     _clientConnectionService = clientConnectionService;
 }
Exemplo n.º 2
0
 public AddCurrentIPAddressIfNotExistsCommandHandler(
     IClientConnectionService clientConnectionService,
     IIPAddressStoredProcedures ipAddressStoredProcedures
     )
 {
     _clientConnectionService   = clientConnectionService;
     _ipAddressStoredProcedures = ipAddressStoredProcedures;
 }
Exemplo n.º 3
0
 public LogSuccessfulAuthenticationCommandHandler(
     IUserStoredProcedures userStoredProcedures,
     IClientConnectionService clientConnectionService
     )
 {
     _userStoredProcedures    = userStoredProcedures;
     _clientConnectionService = clientConnectionService;
 }
 public StatusPageController(
     ILogger <StatusPageController> logger,
     IClientProviderService clientProviderService,
     IClientConnectionService clientConnectionService)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     this.clientProviderService   = clientProviderService ?? throw new ArgumentNullException(nameof(clientProviderService));
     this.clientConnectionService = clientConnectionService ?? throw new ArgumentNullException(nameof(clientConnectionService));
 }
 public LogAuthenticatedUserInCommandHandler(
     CofoundryDbContext dbContext,
     IEntityFrameworkSqlExecutor sqlExecutor,
     IClientConnectionService clientConnectionService
     )
 {
     _dbContext               = dbContext;
     _sqlExecutor             = sqlExecutor;
     _clientConnectionService = clientConnectionService;
 }
 public LogFailedLoginAttemptCommandHandler(
     CofoundryDbContext dbContext,
     IEntityFrameworkSqlExecutor sqlExecutor,
     IClientConnectionService clientConnectionService
     )
 {
     _dbContext               = dbContext;
     _sqlExecutor             = sqlExecutor;
     _clientConnectionService = clientConnectionService;
 }
 public HasExceededMaxAuthenticationAttemptsQueryHandler(
     IUserStoredProcedures userStoredProcedures,
     IClientConnectionService clientConnectionService,
     IUserAreaDefinitionRepository userAreaDefinitionRepository
     )
 {
     _userStoredProcedures         = userStoredProcedures;
     _clientConnectionService      = clientConnectionService;
     _userAreaDefinitionRepository = userAreaDefinitionRepository;
 }
Exemplo n.º 8
0
 public UserContextService(
     CofoundryDbContext dbContext,
     IUserSessionService userSessionService,
     UserContextMapper userContextMapper,
     IClientConnectionService browsingSessionService
     )
 {
     _dbContext          = dbContext;
     _userSessionService = userSessionService;
     _userContextMapper  = userContextMapper;
 }
Exemplo n.º 9
0
 public HasExceededMaxLoginAttemptsQueryHandler(
     CofoundryDbContext dbContext,
     IEntityFrameworkSqlExecutor sqlExecutor,
     AuthenticationSettings authenticationSettings,
     IClientConnectionService clientConnectionService
     )
 {
     _dbContext               = dbContext;
     _sqlExecutor             = sqlExecutor;
     _authenticationSettings  = authenticationSettings;
     _clientConnectionService = clientConnectionService;
 }
 public LogFailedAuthenticationAttemptCommandHandler(
     IDomainRepository domainRepository,
     IUserStoredProcedures userStoredProcedures,
     IClientConnectionService clientConnectionService,
     IMessageAggregator messageAggregator
     )
 {
     _domainRepository        = domainRepository;
     _userStoredProcedures    = userStoredProcedures;
     _clientConnectionService = clientConnectionService;
     _messageAggregator       = messageAggregator;
 }
Exemplo n.º 11
0
 public Server(
     ILogger logger,
     IClientProviderService gameClientService,
     ILobbyChatService lobbyChatService,
     IClientConnectionService clientConnectionService,
     SimpleConfiguration configuration)
 {
     IPAddress.TryParse(configuration.Get("ip"), out this.ipAddress);
     ushort.TryParse(configuration.Get("port"), out this.port);
     this.logger                  = logger;
     this.gameClientService       = gameClientService;
     this.lobbyChatService        = lobbyChatService;
     this.clientConnectionService = clientConnectionService;
     this.tokenSource             = new CancellationTokenSource();
 }
 public ResetUserPasswordCommandHelper(
     CofoundryDbContext dbContext,
     IUserAreaDefinitionRepository userAreaRepository,
     IPasswordCryptographyService passwordCryptographyService,
     ISecurityTokenGenerationService securityTokenGenerationService,
     IMailService mailService,
     ITransactionScopeManager transactionScopeFactory,
     IClientConnectionService clientConnectionService
     )
 {
     _dbContext                      = dbContext;
     _userAreaRepository             = userAreaRepository;
     _passwordCryptographyService    = passwordCryptographyService;
     _securityTokenGenerationService = securityTokenGenerationService;
     _mailService                    = mailService;
     _transactionScopeFactory        = transactionScopeFactory;
     _clientConnectionService        = clientConnectionService;
 }
Exemplo n.º 13
0
 public CalculaJurosService(IClientConnectionService clientConnectionService)
 {
     _clientConnectionService = clientConnectionService ?? throw new ArgumentNullException(nameof(clientConnectionService));
 }