Model
CaptchaTypeResolver
Magento\ReCaptchaFrontendUi\Model\CaptchaTypeResolver
What it does
This class determines which type of reCAPTCHA (v2, v3, invisible) should be used for a specific frontend form or action.
Developers use it to retrieve the configured reCAPTCHA type from store configuration based on a key identifier, allowing different forms to use different reCAPTCHA implementations based on admin settings.
Public Methods
- getCaptchaTypeFor()