30 lines
626 B
C#
30 lines
626 B
C#
using Tesses.WebServer;
|
|
using Scriban;
|
|
using System.Text.Json.Serialization;
|
|
using Newtonsoft.Json;
|
|
namespace Tesses.YouTubeDownloader2025Companion
|
|
{
|
|
public class TYTDLoginResponse {
|
|
[JsonPropertyName("token")]
|
|
public string Token {get;set;}="";
|
|
|
|
[JsonPropertyName("success")]
|
|
public bool Success {get;set;}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
public class SSOResp
|
|
{
|
|
[JsonProperty("success")]
|
|
public bool Success {get;set;}
|
|
|
|
[JsonProperty("type")]
|
|
public string Type {get;set;}="";
|
|
|
|
[JsonProperty("reason")]
|
|
public string Reason {get;set;}="";
|
|
}
|
|
} |