frosty/lib/apis
Tommy Chow 7a9af238b6 switch token script to implicit flow and fix interceptor hanging Future
The script used authorization code flow (response_type=code) which produces
tokens expiring in ~4 hours, while the app uses implicit flow (~60 days).
Switched the script to implicit flow to match, removing the client_secret
requirement and token exchange step.

Also fixed UnauthorizedInterceptor swallowing 401 errors without calling
handler.reject(), which left Dio request Futures hanging forever.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 20:37:23 -08:00
..
base_api_client.dart v5 (#463) 2026-01-01 22:28:17 -05:00
bttv_api.dart v5 (#463) 2026-01-01 22:28:17 -05:00
dio_client.dart v5 (#463) 2026-01-01 22:28:17 -05:00
ffz_api.dart v5 (#463) 2026-01-01 22:28:17 -05:00
seventv_api.dart v5 (#463) 2026-01-01 22:28:17 -05:00
twitch_api.dart v5 (#463) 2026-01-01 22:28:17 -05:00
twitch_auth_interceptor.dart v5 (#463) 2026-01-01 22:28:17 -05:00
unauthorized_interceptor.dart switch token script to implicit flow and fix interceptor hanging Future 2026-03-07 20:37:23 -08:00