Esempio n. 1
0
 public RegisterViewProvider(
     IReCaptchaService recaptchaService,
     IHttpContextAccessor httpContextAccessor,
     IReCaptchaSettingsStore <ReCaptchaSettings> recaptchaSettingsStore)
 {
     _recaptchaService       = recaptchaService;
     _request                = httpContextAccessor.HttpContext.Request;
     _recaptchaSettingsStore = recaptchaSettingsStore;
 }
Esempio n. 2
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IAuthorizationService authorizationService,
            IAlerter alerter,
            IBreadCrumbManager breadCrumbManager,
            IViewProviderManager <ReCaptchaSettings> viewProvider,
            IReCaptchaSettingsStore <ReCaptchaSettings> recaptchaSettingsStore)
        {
            _authorizationService = authorizationService;
            _alerter                = alerter;
            _breadCrumbManager      = breadCrumbManager;
            _viewProvider           = viewProvider;
            _recaptchaSettingsStore = recaptchaSettingsStore;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 3
0
 public AdminViewProvider(
     IReCaptchaSettingsStore <ReCaptchaSettings> recaptchaSettingsStore)
 {
     _recaptchaSettingsStore = recaptchaSettingsStore;
 }
Esempio n. 4
0
 public ReCaptchaService(IReCaptchaSettingsStore <ReCaptchaSettings> recaptchaSettingsStore)
 {
     _recaptchaSettingsStore = recaptchaSettingsStore;
 }