Example #1
0
 /// <summary>
 /// 获取用户基本信息
 /// </summary>
 /// <param name="format">数据类型</param>
 /// <returns>xml获知json 文本</returns>
 public static string GetUserInfo(DataFormatEnum format)
 {
     return(OAuthHelper.GetUserInfo(format));
 }
Example #2
0
 public static void Login(string appid, string appkey, string qqcallbackurl, string onSuccessRedirectUrl, string onFailRedirectUrl)
 {
     OAuthHelper.Login(appid, appkey, qqcallbackurl, onSuccessRedirectUrl, onFailRedirectUrl);
 }