init commit
This commit is contained in:
12
20220330_Vote/Ewide.Core/OAuth/IWechatOAuth.cs
Normal file
12
20220330_Vote/Ewide.Core/OAuth/IWechatOAuth.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user