new_version_init

This commit is contained in:
2024-02-13 02:59:40 +01:00
Unverified
parent e36c1404ee
commit 91f9b645bd
352 changed files with 6777 additions and 8326 deletions

View File

@@ -0,0 +1,18 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Authentication.Models
{
internal class ValidateResponseFail
{
[JsonProperty("status", Required = Required.Always)]
public int Status { get; set; }
[JsonProperty("message", Required = Required.Always)]
public string Message { get; set; }
}
}

View File

@@ -0,0 +1,28 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Authentication.Models
{
internal class ValidateResponseSuccess
{
[JsonProperty("client_id", Required = Required.Always)]
public string ClientId { get; set; }
[JsonProperty("login", Required = Required.Always)]
public string Login { get; set; }
[JsonProperty("scopes", Required = Required.Always)]
public List<string> Scopes { get; set; }
[JsonProperty("user_id", Required = Required.Always)]
public string UserId { get; set; }
[JsonProperty("expires_in", Required = Required.Always)]
public int ExpiresIn { get; set; }
}
}