Log in
Model

CredentialsValidator

Magento\Integration\Model\CredentialsValidator

What it does

This validator class ensures that username and password credentials are properly provided before processing integration authentication.

Developers use this class when creating or validating API integrations to verify that both username and password fields contain valid string values and are not empty, throwing an InputException with specific error messages if validation fails.

Public Methods

  • validate()