End Livestream completes the session: StopStream clears the OAuth session and DPAPI token (crash-safe sign-out)
This commit is contained in:
@@ -39,6 +39,12 @@ public class YouTubeAuthService
|
||||
CurrentChannel = channel;
|
||||
}
|
||||
|
||||
/// <summary>Signs out: drops the in-memory session (a graceful End Livestream clears the saved token via the caller).</summary>
|
||||
public void ClearSession()
|
||||
{
|
||||
CurrentChannel = null;
|
||||
}
|
||||
|
||||
public string GetAuthorizationUrl(string redirectUri)
|
||||
{
|
||||
var query = new[]
|
||||
|
||||
Reference in New Issue
Block a user