KeyValidationWithPersistentCacheDecorator
Magento\PaymentServicesBase\Model\ServicesConnector\KeyValidationWithPersistentCacheDecorator
What it does
This class decorates the KeyValidationInterface to add caching functionality for API key validation results in Payment Services.
It caches validation results for 5 minutes to avoid repeatedly validating the same keys against external services, improving performance by reducing API calls.
Developers use this automatically when key validation is performed for payment service connections.
Public Methods
- execute()