Exemplo n.º 1
0
        public BiometricController(IFacesService facesService,
                                   IConfigurationService configurationService,
                                   IDataAccessService externalDataAccessService,
                                   IAssetsService assetsService,
                                   ILoggerService loggerService,
                                   IInherenceServicesManager inherenceServicesManager)
        {
            if (configurationService is null)
            {
                throw new ArgumentNullException(nameof(configurationService));
            }

            if (inherenceServicesManager is null)
            {
                throw new ArgumentNullException(nameof(inherenceServicesManager));
            }

            _facesService = facesService ?? throw new ArgumentNullException(nameof(facesService));
            _facesService.Initialize();
            _dataAccessService   = externalDataAccessService;
            _assetsService       = assetsService;
            _logger              = loggerService.GetLogger(nameof(BiometricController));
            _portalConfiguration = configurationService.Get <IPortalConfiguration>();
            _inherenceService    = inherenceServicesManager.GetInstance(O10InherenceService.NAME);
        }
Exemplo n.º 2
0
 public BiometricController(IFacesService facesService, IConfigurationService configurationService, IDataAccessService externalDataAccessService, IAssetsService assetsService)
 {
     _facesService = facesService;
     _facesService.Initialize();
     _dataAccessService   = externalDataAccessService;
     _assetsService       = assetsService;
     _portalConfiguration = configurationService.Get <IPortalConfiguration>();
 }
Exemplo n.º 3
0
 public IdentityProviderController(
     IExecutionContextManager executionContextManager,
     IAssetsService assetsService,
     IDataAccessService dataAccessService,
     IDataAccessService externalDataAccessService,
     IIdentityAttributesService identityAttributesService,
     IFacesService facesService,
     IAccountsService accountsService,
     IConfigurationService configurationService,
     IHubContext <IdentitiesHub> hubContext)
 {
     _dataAccessService         = dataAccessService;
     _executionContextManager   = executionContextManager;
     _assetsService             = assetsService;
     _externalDataAccessService = externalDataAccessService;
     _identityAttributesService = identityAttributesService;
     _accountsService           = accountsService;
     _hubContext          = hubContext;
     _portalConfiguration = configurationService.Get <IPortalConfiguration>();
 }
Exemplo n.º 4
0
 public FaceRecognitionController(IFacesService facesService, IImagesService imagesService, ICamerasService camerasService)
 {
     this.facesService   = facesService;
     this.imagesService  = imagesService;
     this.camerasService = camerasService;
 }
Exemplo n.º 5
0
 public TenatController(IFacesService facesService)
 {
     this.facesService = facesService;
 }