Files
2023-03-13 15:00:34 +08:00

39 lines
745 B
C#

using JNPF.Extras.CollectiveOAuth.Enums;
namespace JNPF.Extras.CollectiveOAuth.Config;
/// <summary>
/// 淘宝.
/// </summary>
public class TaobaoAuthSource : IAuthSource
{
public string authorize()
{
return "https://oauth.taobao.com/authorize";
}
public string accessToken()
{
return "https://oauth.taobao.com/token";
}
public string userInfo()
{
throw new System.NotImplementedException();
}
public string revoke()
{
throw new System.NotImplementedException();
}
public string refresh()
{
throw new System.NotImplementedException();
}
public string getName()
{
return DefaultAuthSourceEnum.TAOBAO.ToString();
}
}