using Microsoft.Azure.Cosmos.Table; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TEAMModelOS.SDK.Context.Attributes.Azure; namespace TEAMModelOS.SDK.Models { public class OAuthModel { } [TableName(Name = "IESOAuth")] public class OAuthComConfig : TableEntity { //PartitionKey OAuthComConfig, 单点配置 //RowKey Xkw Xkw-Test /// /// 单点授权key /// public string AppKey { get; set; } /// /// 单点授权Secret /// public string AppSecret { get; set; } /// /// 单点回调地址 /// public string RedirectUrl { get; set; } /// /// 单点认证授权 /// public string OAuthHost { get; set; } /// /// 单点认证业务接口 /// public string ServiceUrl { get; set; } /// /// 单点认证平台Logo或相关图片 /// public string Picture { get; set; } /// /// 单点认证平台名称 /// public string Name { get; set; } } [TableName(Name = "IESOAuth")] public class OAuthUser : TableEntity { //PartitionKey OAuthUser-xkw, OAuthUser-axy , 单点配置 //RowKey tmdid public string OpenId { get; set; } public string Phone { get; set; } public string Name { get; set; } public long Time { get; set; } } public record OAuthCode { public string code { get; set; } public string state { get; set; } } }