diff options
Diffstat (limited to 'player-android/lib/router.dart')
| -rw-r--r-- | player-android/lib/router.dart | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/player-android/lib/router.dart b/player-android/lib/router.dart index 7cf1823..2949ec7 100644 --- a/player-android/lib/router.dart +++ b/player-android/lib/router.dart @@ -24,6 +24,7 @@ import 'screens/admin_permissions_screen.dart'; import 'screens/admin_rescan_screen.dart'; import 'screens/admin_trash_screen.dart'; import 'screens/admin_users_screen.dart'; +import 'screens/api_tokens_screen.dart'; import 'screens/folder_browser_screen.dart'; import 'screens/video_player_screen.dart'; @@ -260,6 +261,13 @@ final routerProvider = Provider<GoRouter>((ref) { builder: (context, state) => const AdminTrashScreen(), ), GoRoute( + // API token management — lists, creates, and revokes Bearer API tokens + // for the authenticated user. Available to all authenticated users + // (not admin-only) via the Account section of Settings. + path: AppRoutes.apiTokens, + builder: (context, state) => const ApiTokensScreen(), + ), + GoRoute( // Folder browser — shows subfolders and media at the current path // within a set. The ':setId' path segment identifies the set; // the optional 'path' query parameter identifies the current subfolder |
