You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
476 B

using System.Threading.Tasks;
namespace GDZZ.Core;
public interface IWechatOAuth
{
1 year ago
Task<TokenModel> GetCode2SessionAsync(string code, string state = "");
string GetAuthorizeUrl(string state = "");
Task<UserInfoModel> GetUserInfoAsync(string accessToken, string openId);
Task<TokenModel> GetRefreshTokenAsync(string refreshToken);
Task<TokenModel> GetTokenAsync();
1 year ago
Task<byte[]> GetShareCodeAsync(string access_token, string scene, string page);
}