Send all cookies to the websocket connection as the clearance token is now needed

This commit is contained in:
barelyprofessional
2026-02-08 20:12:41 -06:00
parent cdd309fa24
commit e7c309582a
4 changed files with 23 additions and 16 deletions

View File

@@ -166,6 +166,11 @@ public class KfTokenService
return cookie?.Value;
}
public Dictionary<string, string> GetCookies()
{
return _cookies.GetAllCookies().ToDictionary(cookie => cookie.Name, cookie => cookie.Value);
}
public async Task SaveCookies()
{
_logger.Debug("Saving cookies");