init commit

This commit is contained in:
路 范
2022-03-30 17:54:33 +08:00
parent df01841625
commit 904bdd16cd
500 changed files with 217251 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
using System.Threading.Tasks;
namespace Ewide.Core.OAuth
{
public interface IWechatOAuth
{
Task<TokenModel> GetAccessTokenAsync(string code, string state = "");
string GetAuthorizeUrl(string state = "");
Task<UserInfoModel> GetUserInfoAsync(string accessToken, string openId);
Task<TokenModel> GetRefreshTokenAsync(string refreshToken);
}
}