-
feat(auth): improve unauthorized error handling for refresh and auto-refresh
发布于
2026-05-12 18:59:46 +00:00 - Added
isUnauthorizedErrorandhasUnauthorizedAuthFailureto classify and handle unauthorized errors. - Introduced
refreshErrorFromErrorto map errors to standardized unauthorized responses. - Modified refresh logic to stop auto-refresh retries for unauthorized errors.
- Updated tests to verify unauthorized error handling and refresh retry prevention.
下载附件
- Added