RequestThrottler
Magento\Integration\Model\Oauth\Token\RequestThrottler
What it does
This class manages OAuth token request throttling to prevent brute force attacks on admin and customer accounts.
It tracks failed authentication attempts, temporarily locks accounts after exceeding the configured failure threshold, and provides methods to reset the failure count after successful authentication.
Developers use this when implementing OAuth token authentication to add security rate limiting.
Public Methods
- throttle()
- resetAuthenticationFailuresCount()
- logAuthenticationFailure()