Model
UpsAuth
Magento\Ups\Model\UpsAuth
What it does
This class handles OAuth authentication for UPS shipping API integration in Magento 2.
It manages access token generation, caching tokens to avoid repeated API calls, and provides error handling when authentication fails.
Developers use this class when implementing or customizing UPS shipping rate calculations that require API authentication.
Public Methods
- getAccessToken()
- collectRates()