Files
seaweedfs/weed/iam
Chris Lu 5331e21f49 refactor(s3api): improve code quality and performance
- Rename authorization path constants to avoid conflict with existing authType enum
- Replace nested if/else with clean switch statement in authorizeWithIAM()
- Add determineIAMAuthPath() helper for clearer intent and testability
- Optimize key counting in auth_signature_v4.go: remove unnecessary slice allocation
- Fix timing assertion in session_claims_test.go: use WithinDuration for symmetric tolerance

These changes improve code readability, maintainability, and performance while
maintaining full backward compatibility and test coverage.
2026-01-02 22:49:22 -08:00
..
2025-08-30 11:15:48 -07:00
2025-11-12 22:14:50 -08:00
2025-08-30 11:15:48 -07:00
2025-11-12 22:14:50 -08:00