Пример #1
0
 public DoorRequestController(IDoorRequestService doorRequestService, ITotpValidator totpValidator,
                              IAccountKeyService accountKeyService)
 {
     _doorRequestService = doorRequestService;
     _totpValidator      = totpValidator;
     _accountKeyService  = accountKeyService;
 }
 public AuthenticationController(ITotpSetupGenerator totpSetupGenerator, ITotpValidator totpValidator,
                                 ILogger <AuthenticationController> logger, IAccountKeyService accountKeyService)
 {
     _totpSetupGenerator = totpSetupGenerator;
     _totpValidator      = totpValidator;
     _logger             = logger;
     _accountKeyService  = accountKeyService;
 }