Archived
1
0

Added user authorization (not tested)

This commit is contained in:
Michael Gordeev
2019-12-04 16:19:57 +03:00
parent 3b08b18d4f
commit 903c0c563d
7 changed files with 139 additions and 27 deletions
+24
View File
@@ -0,0 +1,24 @@
using Google.Apis.Auth.OAuth2;
using Google.Apis.YouTube.v3.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FoxTube.Core.Models
{
public class User
{
public string Name { get; set; }
public string Email { get; set; }
internal string RefreshToken { get; set; }
public UserCredential Credential { get; set; }
public Channel Channel { get; set; }
public User(UserCredential credential)
{
}
}
}