コード例 #1
0
 public PerformAutoRekeyingTasks(
     IOptions <AuthJanitorCoreConfiguration> configuration,
     TaskExecutionMetaService taskExecutionMetaService,
     IDataStore <RekeyingTask> rekeyingTaskStore)
 {
     _configuration            = configuration.Value;
     _taskExecutionMetaService = taskExecutionMetaService;
     _rekeyingTasks            = rekeyingTaskStore;
 }
コード例 #2
0
        public ExternalSignal(
            IOptions <AuthJanitorCoreConfiguration> configuration,
            TaskExecutionMetaService taskExecutionMetaService,
            IDataStore <ManagedSecret> managedSecretStore,
            IDataStore <RekeyingTask> rekeyingTaskStore)
        {
            _configuration            = configuration.Value;
            _taskExecutionMetaService = taskExecutionMetaService;

            _managedSecrets = managedSecretStore;
            _rekeyingTasks  = rekeyingTaskStore;
        }
コード例 #3
0
        public RekeyingTasks(
            IOptions <AuthJanitorCoreConfiguration> configuration,
            IIdentityService identityService,
            TaskExecutionMetaService taskExecutionMetaService,
            EventDispatcherMetaService eventDispatcher,
            ProviderManagerService providerManager,
            IDataStore <ManagedSecret> managedSecretStore,
            IDataStore <RekeyingTask> rekeyingTaskStore,
            Func <RekeyingTask, RekeyingTaskViewModel> rekeyingTaskViewModelDelegate)
        {
            _configuration            = configuration.Value;
            _identityService          = identityService;
            _taskExecutionMetaService = taskExecutionMetaService;
            _eventDispatcher          = eventDispatcher;
            _providerManager          = providerManager;

            _managedSecrets        = managedSecretStore;
            _rekeyingTasks         = rekeyingTaskStore;
            _rekeyingTaskViewModel = rekeyingTaskViewModelDelegate;
        }