public PaypalCommandHandler(IConfiguration configuration,
                             IOrderRepository orderRepository,
                             ISnsClient snsClient,
                             ILogger logger)
 {
     _configuration   = configuration;
     _orderRepository = orderRepository;
     _snsClient       = snsClient;
     _logger          = logger;
 }
 public RecoverEmailCommandHandler(IAccountRepository accountRepository,
                                   ISnsClient snsClient,
                                   IConfiguration configuration,
                                   ISecurityTokenHandler securityTokenHandler,
                                   IAwsSecretManagerService awsSecretManagerService,
                                   ILogger logger)
 {
     _accountRepository       = accountRepository;
     _snsClient               = snsClient;
     _configuration           = configuration;
     _securityTokenHandler    = securityTokenHandler;
     _awsSecretManagerService = awsSecretManagerService;
     _logger = logger;
 }
예제 #3
0
 public CreateAccountsCommandHandler(IRoleClaimAggregationRepository roleClaimAggregationRepository,
                                     IRoleRepository roleRepository,
                                     IAccountRepository accountRepository,
                                     IPasswordHasher passwordHasher,
                                     ISnsClient snsClient,
                                     IConfiguration configuration,
                                     ISecurityTokenHandler securityTokenHandler,
                                     IAwsSecretManagerService awsSecretManagerService)
 {
     _roleClaimAggregationRepository = roleClaimAggregationRepository;
     _roleRepository          = roleRepository;
     _accountRepository       = accountRepository;
     _passwordHasher          = passwordHasher;
     _snsClient               = snsClient;
     _configuration           = configuration;
     _securityTokenHandler    = securityTokenHandler;
     _awsSecretManagerService = awsSecretManagerService;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AwsMessagePublisher" /> class.
 /// </summary>
 /// <param name="messageLogger">Message logger</param>
 public AwsMessagePublisher(IMessageLogger messageLogger)
 {
     _snsClient     = null;
     _messageLogger = messageLogger;
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AwsMessagePublisher" /> class.
 /// </summary>
 /// <param name="snsClient">SNS client to publish to</param>
 /// <param name="messageLogger">Message logger</param>
 public AwsMessagePublisher(ISnsClient snsClient, IMessageLogger messageLogger)
 {
     _snsClient     = snsClient;
     _messageLogger = messageLogger;
 }
 public SnsCommandHandler(ISnsClient snsClient)
 {
     _snsClient = snsClient;
 }
예제 #7
0
 public DriverController(IParkingDao dao, ISnsClient sclient, IGcmClient gclient)
 {
     _dao       = dao;
     _snsClient = sclient;
     _gcmClient = gclient;
 }
예제 #8
0
 public ParkingController(IParkingDao dao, ISnsClient client)
 {
     _dao       = dao;
     _snsClient = client;
 }