public AuthenticatorController(IAuthenticatorDataRepository repository, IAuthenticator authenticator, IEnrollmentClient enrollClient)
        {
            if (repository == null) throw new ArgumentNullException(nameof(repository));
            if (authenticator == null) throw new ArgumentNullException(nameof(authenticator));
            if (enrollClient == null) throw new ArgumentNullException(nameof(enrollClient));

            _repository = repository;
            _authenticator = authenticator;
            _enrolClient = enrollClient;
        }
 public Authenticator(IAuthenticatorDataRepository repository)
 {
     if (repository == null) throw new ArgumentNullException(nameof(repository));
     _repository = repository;
 }