IdentityProvider
Magento\Authorization\Model\IdentityProvider
What it does
This class provides identity information for Magento's backpressure/rate limiting system.
It determines whether a request comes from an authenticated customer, admin user, or anonymous visitor (identified by IP address), and returns the appropriate identifier for tracking request rates.
Developers use this when implementing or extending rate limiting features to control API or request throttling based on user identity.
Public Methods
- fetchIdentityType()
- fetchIdentity()