Log in
Model

WebapiConfigProvider

Magento\ReCaptchaNewsletter\Model\WebapiConfigProvider

What it does

This class provides reCAPTCHA validation configuration for newsletter subscription endpoints in Magento 2's GraphQL API.

Developers use this to automatically enable reCAPTCHA protection on the newsletter subscription resolver when the feature is enabled in admin configuration, helping prevent spam subscriptions through the API.

Public Methods

  • getConfigFor()