Пример #1
0
        public WeChatAuthorize()
        {
            string appId     = _appId;
            string secretKey = _appSecret;

            Option = new WeChatAuthorizeOption(appId, secretKey);
            Name   = "WeChat";
            AppId  = appId;
            //Option.RedirectUrl = "/account/unionlogin";
            Option.RedirectUrl = RedirectUrl;
        }
Пример #2
0
 public WeChatAuthorize(string appId, string secretKey)
 {
     Option = new WeChatAuthorizeOption(appId, secretKey);
     Name   = "WeChat";
     _appId = appId;
 }