Log in
Model

WebapiConfigProvider

Magento\ReCaptchaCustomer\Model\WebapiConfigProvider

What it does

This class provides ReCAPTCHA validation configuration for customer-related Web API endpoints in Magento 2.

Developers use this to automatically enable ReCAPTCHA protection on customer operations like login, registration, password reset, and password change through REST API and GraphQL endpoints.

It checks if ReCAPTCHA is enabled for each operation and returns the appropriate validation configuration.

Public Methods

  • getConfigFor()