summaryrefslogtreecommitdiff
path: root/player-android/lib/router.dart
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-20 23:34:37 +0300
committerPaul Buetow <paul@buetow.org>2026-05-20 23:34:37 +0300
commit1a68b1aead492b50d824bde99fb1f30e1360ed26 (patch)
tree651c86fa2d81758e5ee6cf124aa72cc0587aff36 /player-android/lib/router.dart
parent30e95cd41fc26cc2cbef658c47c690eb5e388b04 (diff)
Add DioClient with auth interceptors and refactor PlayerApiClient (ma)
Introduces dio_client.dart with _AuthInterceptor (guards Bearer token injection with containsKey so callers can override Authorization) and _UnauthorizedInterceptor (private fields, 401 → login redirect). PlayerApiClient is refactored to accept a pre-configured Dio instance instead of raw credentials; adds dio + flutter_secure_storage deps. Fixes review issues: Auth header comment/behavior corrected, private fields on _UnauthorizedInterceptor, unused import removed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'player-android/lib/router.dart')
0 files changed, 0 insertions, 0 deletions