27 lines
701 B
C#
27 lines
701 B
C#
using Tesses.WebServer;
|
|
using Scriban;
|
|
using Newtonsoft.Json;
|
|
namespace Tesses.YouTubeDownloader2025Companion
|
|
{
|
|
public class AuthConfig {
|
|
[JsonProperty("companion_url")]
|
|
public string CompanionUrl {get;set;}="";
|
|
|
|
[JsonProperty("tytd_url")]
|
|
public string TYTDUrl {get;set;}="";
|
|
|
|
|
|
[JsonProperty("service_name")]
|
|
public string ServiceName {get;set;}="";
|
|
|
|
[JsonProperty("sso_app_key")]
|
|
public string SSOAppKey {get;set;}="";
|
|
|
|
[JsonProperty("tytd_session")]
|
|
public string Session {get;set;}="";
|
|
|
|
[JsonProperty("thumbnails_through_tytd")]
|
|
public bool ThumbnailsThroughTYTD {get;set;}=false;
|
|
|
|
}
|
|
} |