public AccountsController(IAccountsServiceEx accountsService, IExecutionContextManager executionContextManager, IDataAccessService dataAccessService, ILoggerService loggerService, ITranslatorsRepository translatorsRepository, IIntegrationIdPRepository integrationIdPRepository, IOptions <AppSettings> appSettings) { if (loggerService is null) { throw new ArgumentNullException(nameof(loggerService)); } if (appSettings is null) { throw new ArgumentNullException(nameof(appSettings)); } _accountsService = accountsService; _executionContextManager = executionContextManager; _dataAccessService = dataAccessService; _translatorsRepository = translatorsRepository; _integrationIdPRepository = integrationIdPRepository; _logger = loggerService.GetLogger(nameof(AccountsController)); _appSettings = appSettings.Value; }
public SchemeResolutionController(IDataAccessService dataAccessService, IAccountsServiceEx accountsService, IIntegrationIdPRepository integrationIdPRepository, ILoggerService loggerService) { _dataAccessService = dataAccessService; _accountsService = accountsService; _integrationIdPRepository = integrationIdPRepository; _logger = loggerService.GetLogger(nameof(SchemeResolutionController)); }
public SpUsersController(IAccountsServiceEx accountsService, IDataAccessService dataAccessService, IHashCalculationsRepository hashCalculationsRepository, IExecutionContextManager executionContextManager, IAssetsService assetsService, IUniversalProofsPool universalProofsPool, IDocumentSignatureVerifier documentSignatureVerifier) { _accountsService = accountsService; _dataAccessService = dataAccessService; _executionContextManager = executionContextManager; _assetsService = assetsService; _universalProofsPool = universalProofsPool; _documentSignatureVerifier = documentSignatureVerifier; _hashCalculation = hashCalculationsRepository.Create(Globals.DEFAULT_HASH); }
public IdentityProviderController( IExecutionContextManager executionContextManager, IAssetsService assetsService, IDataAccessService dataAccessService, IIdentityAttributesService identityAttributesService, IAccountsServiceEx accountsService, ITranslatorsRepository translatorsRepository, IHubContext <IdentitiesHub> idenitiesHubContext, ILoggerService loggerService) { _executionContextManager = executionContextManager; _assetsService = assetsService; _dataAccessService = dataAccessService; _identityAttributesService = identityAttributesService; _accountsService = accountsService; _translatorsRepository = translatorsRepository; _idenitiesHubContext = idenitiesHubContext; _logger = loggerService.GetLogger(nameof(IdentityProviderController)); }