From 4afe11e718bf9e18086e4b8a799dde76c4ad4ff1 Mon Sep 17 00:00:00 2001 From: gramps Date: Thu, 6 Aug 2026 09:38:35 -0700 Subject: [PATCH] OAuth session persists via DPAPI; sign-in lives in the Start Stream dialog; add xUnit test project (6 passing) --- GoLiveWindow.xaml | 67 ++++++++++++++++++++- Helpers/TokenStore.cs | 55 +++++++++++++++++ Helpers/index.md | 1 + MainWindow.xaml | 31 ---------- Services/YouTubeAuthService.cs | 16 ++++- Services/index.md | 2 +- TASKS.md | 7 ++- ViewModels/GoLiveViewModel.cs | 80 +++++++++++++++++++++++-- ViewModels/MainViewModel.cs | 53 ++++++++++++---- ViewModels/index.md | 4 +- ai.md | 18 +++--- ytLive.Tests/TokenStoreTests.cs | 62 +++++++++++++++++++ ytLive.Tests/YouTubeAuthServiceTests.cs | 74 +++++++++++++++++++++++ ytLive.Tests/ytLive.Tests.csproj | 21 +++++++ ytLive.csproj | 8 +++ 15 files changed, 432 insertions(+), 67 deletions(-) create mode 100644 Helpers/TokenStore.cs create mode 100644 ytLive.Tests/TokenStoreTests.cs create mode 100644 ytLive.Tests/YouTubeAuthServiceTests.cs create mode 100644 ytLive.Tests/ytLive.Tests.csproj diff --git a/GoLiveWindow.xaml b/GoLiveWindow.xaml index a662e23..91b826d 100644 --- a/GoLiveWindow.xaml +++ b/GoLiveWindow.xaml @@ -1,7 +1,7 @@ @@ -14,6 +14,7 @@ + @@ -23,8 +24,68 @@ + + + + + + + + + + + + + +