mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-07-01 03:54:23 +08:00
- Introduced `AuthKind` and `AuthSourceKind` methods for improved credential type and source classification. - Replaced legacy fallback logic with normalized attribute-based handling in `AuthKind`. - Consolidated metadata inspection for both API key and OAuth attributes. - Updated calls to replace direct `AccountInfo` usage with `AuthKind` and `AuthSourceKind`. - Enhanced unit tests to validate explicit and fallback credential resolution scenarios.