Esempio n. 1
0
 public OtpEngine(Action <string> traceMessage, IOtpStoreFactory factory, TelemetryManager telemetryManager, MetricManager metricManager)
 {
     this.traceMessage  = traceMessage;
     this.otpStore      = factory.GetStore();
     this.otpStorage    = telemetryManager;
     this.metricManager = metricManager;
 }
 public StoreTaskScheduler(IOtpStoreFactory factory, string storageConnectionString)
 {
     this.telemetryManager = new TelemetryManager(storageConnectionString);
 }