添加项目文件。

This commit is contained in:
2023-03-13 15:00:34 +08:00
parent 42bf06ca3e
commit 1d73df3235
1205 changed files with 185078 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
using JNPF.Extras.CollectiveOAuth.Enums;
namespace JNPF.Extras.CollectiveOAuth.Config;
/// <summary>
/// Facebook.
/// </summary>
public class FackbookAuthSource : IAuthSource
{
public string authorize()
{
return "https://www.facebook.com/v3.3/dialog/oauth";
}
public string accessToken()
{
return "https://graph.facebook.com/v3.3/oauth/access_token";
}
public string userInfo()
{
return "https://graph.facebook.com/v3.3/me";
}
public string revoke()
{
throw new System.NotImplementedException();
}
public string refresh()
{
throw new System.NotImplementedException();
}
public string getName()
{
return DefaultAuthSourceEnum.FACEBOOK.ToString();
}
}