yuechenglong.5
f74a688fb9
refactor(auth): extract token filename generation into unified function
Add ExtractIDCIdentifier and GenerateTokenFileName functions to centralize
token filename generation logic. This improves code maintainability by:
- Extracting IDC identifier from startUrl for unique token file naming
- Supporting priority-based filename generation (email > startUrl > authMethod)
- Removing duplicate filename generation code from oauth_web.go
- Adding comprehensive unit tests for the new functions
2026-01-26 13:54:32 +08:00
..
2026-01-20 21:57:45 +08:00
2026-01-26 13:54:32 +08:00
2026-01-26 13:54:32 +08:00
2026-01-21 11:03:07 +08:00
2025-12-18 08:16:52 +08:00
2026-01-18 15:04:29 +08:00
2026-01-18 15:04:29 +08:00
2026-01-18 15:04:29 +08:00
2026-01-18 15:04:29 +08:00
2026-01-18 15:04:29 +08:00
2026-01-18 15:04:29 +08:00
2026-01-18 15:04:29 +08:00
2026-01-19 20:55:51 +08:00
2026-01-26 13:54:32 +08:00
2026-01-18 15:04:29 +08:00
2025-12-15 15:53:25 +08:00
2026-01-18 15:04:29 +08:00
2026-01-18 15:04:29 +08:00
2026-01-18 15:04:29 +08:00
2026-01-24 20:02:09 +08:00
2026-01-18 15:04:29 +08:00
2026-01-18 15:04:29 +08:00
2026-01-20 10:17:39 +08:00
2026-01-20 10:17:39 +08:00
2026-01-18 15:04:29 +08:00