public PerformAutoRekeyingTasks(
     IOptions <AuthJanitorCoreConfiguration> configuration,
     TaskExecutionMetaService taskExecutionMetaService,
     IDataStore <RekeyingTask> rekeyingTaskStore)
 {
     _configuration            = configuration.Value;
     _taskExecutionMetaService = taskExecutionMetaService;
     _rekeyingTasks            = rekeyingTaskStore;
 }
Exemplo n.º 2
0
        public ExternalSignal(
            IOptions <AuthJanitorCoreConfiguration> configuration,
            TaskExecutionMetaService taskExecutionMetaService,
            IDataStore <ManagedSecret> managedSecretStore,
            IDataStore <RekeyingTask> rekeyingTaskStore)
        {
            _configuration            = configuration.Value;
            _taskExecutionMetaService = taskExecutionMetaService;

            _managedSecrets = managedSecretStore;
            _rekeyingTasks  = rekeyingTaskStore;
        }
        public ScheduleRekeyingTasks(
            IOptions <AuthJanitorCoreConfiguration> configuration,
            EventDispatcherMetaService eventDispatcherMetaService,
            ProviderManagerService providerManager,
            IDataStore <ManagedSecret> managedSecretStore,
            IDataStore <Resource> resourceStore,
            IDataStore <RekeyingTask> rekeyingTaskStore)
        {
            _configuration = configuration.Value;
            _eventDispatcherMetaService = eventDispatcherMetaService;
            _providerManager            = providerManager;

            _managedSecrets = managedSecretStore;
            _resources      = resourceStore;
            _rekeyingTasks  = rekeyingTaskStore;
        }
Exemplo n.º 4
0
        public ManagedSecrets(
            IOptions <AuthJanitorCoreConfiguration> configuration,
            IIdentityService identityService,
            ICryptographicImplementation cryptographicImplementation,
            EventDispatcherMetaService eventDispatcher,
            ProviderManagerService providerManager,
            IDataStore <ManagedSecret> managedSecretStore,
            IDataStore <Resource> resourceStore,
            Func <ManagedSecret, ManagedSecretViewModel> managedSecretViewModelDelegate)
        {
            _configuration               = configuration.Value;
            _identityService             = identityService;
            _cryptographicImplementation = cryptographicImplementation;
            _eventDispatcher             = eventDispatcher;
            _providerManager             = providerManager;

            _managedSecrets         = managedSecretStore;
            _resources              = resourceStore;
            _managedSecretViewModel = managedSecretViewModelDelegate;
        }
Exemplo n.º 5
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;
        }