managarten/packages/shared-auth/src/core
Till JS 4fb851947e test(auth): add 68 unit tests for auth-ui, shared-auth, and shared-branding
- userAgent utils: parseUserAgent, getDeviceType, formatUserAgent (17 tests)
- guestWelcome utils: shouldShow, markSeen, reset (8 tests)
- jwtUtils: decodeToken, isTokenValid, getUserFromToken, B2B (27 tests)
- mana-apps: hasAppAccess, getTierLevel, getAccessibleManaApps (16 tests)

Also fixes iOS detection bug in userAgent parser (iPhone UA contains
"Mac OS X" — mobile check must come before desktop OS check).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 16:35:16 +02:00
..
authService.ts fix(shared-auth): add explicit AuthServiceInterface to fix TS inference truncation 2026-03-28 03:15:29 +01:00
jwtUtils.spec.ts test(auth): add 68 unit tests for auth-ui, shared-auth, and shared-branding 2026-03-31 16:35:16 +02:00
jwtUtils.ts feat(auth): add access tier system for phased app releases 2026-03-30 21:50:06 +02:00
tokenManager.ts feat(auth): add session expired banner when token refresh fails 2026-03-24 21:24:28 +01:00