public GoogleAuthenticatorService(
     IRepository <GoogleAuthenticatorRecord> repository,
     IStaticCacheManager staticCacheManager,
     IWorkContext workContext,
     GoogleAuthenticatorSettings googleAuthenticatorSettings)
 {
     _repository                  = repository;
     _staticCacheManager          = staticCacheManager;
     _workContext                 = workContext;
     _googleAuthenticatorSettings = googleAuthenticatorSettings;
 }
Example #2
0
 public GoogleAuthenticatorController(GoogleAuthenticatorService googleAuthenticatorService,
                                      GoogleAuthenticatorSettings googleAuthenticatorSettings,
                                      IGenericAttributeService genericAttributeService,
                                      ILocalizationService localizationService,
                                      INotificationService notificationService,
                                      IPermissionService permissionService,
                                      ISettingService settingService,
                                      IWorkContext workContext
                                      )
 {
     _googleAuthenticatorService  = googleAuthenticatorService;
     _googleAuthenticatorSettings = googleAuthenticatorSettings;
     _genericAttributeService     = genericAttributeService;
     _localizationService         = localizationService;
     _notificationService         = notificationService;
     _permissionService           = permissionService;
     _settingService = settingService;
     _workContext    = workContext;
 }