/// <summary> /// The default captcha protection provider /// </summary> public ProtectionProviderService( IDataProtectionProvider dataProtectionProvider, ILogger <ProtectionProviderService> logger) { dataProtectionProvider.CheckArgumentIsNull(nameof(dataProtectionProvider)); logger.CheckArgumentIsNull(nameof(logger)); _logger = logger; _dataProtector = dataProtectionProvider.CreateProtector(typeof(ProtectionProviderService).FullName); }