Example #1
0
 public TekReleaseWorkflowStateCreateV2(
     WorkflowDbContext dbContextProvider,
     IUtcDateTimeProvider dateTimeProvider,
     IRandomNumberGenerator numberGenerator,
     IWorkflowTime workflowTime,
     RegisterSecretLoggingExtensionsV2 logger,
     ILuhnModNConfig luhnModNConfig,
     ILuhnModNGenerator luhnModNGenerator)
 {
     _workflowDbContext = dbContextProvider ?? throw new ArgumentNullException(nameof(dbContextProvider));
     _dateTimeProvider  = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider));
     _numberGenerator   = numberGenerator ?? throw new ArgumentNullException(nameof(numberGenerator));
     _workflowTime      = workflowTime ?? throw new ArgumentNullException(nameof(workflowTime));
     _logger            = logger ?? throw new ArgumentNullException(nameof(logger));
     _luhnModNConfig    = luhnModNConfig ?? throw new ArgumentNullException(nameof(luhnModNConfig));
     _luhnModNGenerator = luhnModNGenerator ?? throw new ArgumentNullException(nameof(luhnModNGenerator));
 }
 public KeysFirstAuthorisationTokenLuhnModNValidator(ILuhnModNConfig config)
 {
     _Validator = new LuhnModNValidator(config);
 }
 public LuhnModNGenerator(ILuhnModNConfig config)
 {
     _config = config;
 }
Example #4
0
 public GenerateWorkflowKeys(ILuhnModNConfig config)
 {
     _Generator = new LuhnModNGenerator(config);
 }
 public LuhnModNValidator(ILuhnModNConfig config)
 {
     _config = config;
 }
 public GenerateKeysFirstAuthorisationToken(ILuhnModNConfig config)
 {
     _Generator = new LuhnModNGenerator(config);
 }
Example #7
0
 public WorkflowAuthorisationTokenLuhnModNValidator(ILuhnModNConfig config)
 {
     _Validator = new LuhnModNValidator(config);
 }