framework/class/oauth2wechat.class.php

[WeEngine System] Copyright (c) 2014 WE7.CC WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.

Classes

Wechat [WeEngine System] Copyright (c) 2014 WE7.CC WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.

Constants

Wechat_PLATFORM_API_OAUTH_LOGIN_URL

Wechat_PLATFORM_API_OAUTH_LOGIN_URL = 'https://open.weixin.qq.com/connect/qrconnect?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_login&state=%s#wechat_redirect'

Wechat_PLATFORM_API_GET_ACCESS_TOKEN

Wechat_PLATFORM_API_GET_ACCESS_TOKEN = 'https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code'

Wechat_PLATFORM_API_GET_USERINFO

Wechat_PLATFORM_API_GET_USERINFO = 'https://api.weixin.qq.com/sns/userinfo?access_token=%s&openid=%s&lang=zh_CN'