using Nop.Core.Configuration; namespace Nop.Core.Domain.Security; /// /// CAPTCHA settings /// public partial class CaptchaSettings : ISettings { /// /// Is CAPTCHA enabled? /// public bool Enabled { get; set; } /// /// Type of reCAPTCHA /// public CaptchaType CaptchaType { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the login page /// public bool ShowOnLoginPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the registration page /// public bool ShowOnRegistrationPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the contacts page /// public bool ShowOnContactUsPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the wishlist page /// public bool ShowOnEmailWishlistToFriendPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the "email a friend" page /// public bool ShowOnEmailProductToFriendPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the "comment blog" page /// public bool ShowOnBlogCommentPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the "comment news" page /// public bool ShowOnNewsCommentPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the "News letter" page /// public bool ShowOnNewsletterPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the product reviews page /// public bool ShowOnProductReviewPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the "Apply for vendor account" page /// public bool ShowOnApplyVendorPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the "forgot password" page /// public bool ShowOnForgotPasswordPage { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the Forum /// public bool ShowOnForum { get; set; } /// /// A value indicating whether CAPTCHA should be displayed on the checkout page for guest customers /// public bool ShowOnCheckoutPageForGuests { get; set; } /// /// The base reCAPTCHA API URL /// public string ReCaptchaApiUrl { get; set; } /// /// reCAPTCHA public key /// public string ReCaptchaPublicKey { get; set; } /// /// reCAPTCHA private key /// public string ReCaptchaPrivateKey { get; set; } /// /// reCAPTCHA V3 score threshold /// public decimal ReCaptchaV3ScoreThreshold { get; set; } /// /// reCAPTCHA theme /// public string ReCaptchaTheme { get; set; } /// /// The length of time, in seconds, before the reCAPTCHA request times out /// public int? ReCaptchaRequestTimeout { get; set; } /// /// reCAPTCHA default language /// public string ReCaptchaDefaultLanguage { get; set; } /// /// A value indicating whether reCAPTCHA language should be set automatically /// public bool AutomaticallyChooseLanguage { get; set; } }