C# Class WeChatSDK.Extensions.WeChatSns

Exibir arquivo Open project: zhxilin/WeChatSDK

Public Methods

Method Description
GetAccessTokenAsync ( string code ) : Task
GetUserInfoAsync ( string token, string openid ) : Task
Initialize ( string appid, string appsecret, string scope = null ) : void

Method Details

GetAccessTokenAsync() public static method

public static GetAccessTokenAsync ( string code ) : Task
code string
return Task

GetUserInfoAsync() public static method

public static GetUserInfoAsync ( string token, string openid ) : Task
token string
openid string
return Task

Initialize() public static method

public static Initialize ( string appid, string appsecret, string scope = null ) : void
appid string
appsecret string
scope string
return void