framework/class/oauth2qq.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

Qq [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

QQ_PLATFORM_API_OAUTH_LOGIN_URL

QQ_PLATFORM_API_OAUTH_LOGIN_URL = 'https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=%s&redirect_uri=%s&state=%s'

QQ_PLATFORM_API_GET_ACCESS_TOKEN

QQ_PLATFORM_API_GET_ACCESS_TOKEN = 'https://graph.qq.com/oauth2.0/token?grant_type=authorization_code&client_id=%s&client_secret=%s&code=%s&redirect_uri=%s'

QQ_PLATFORM_API_GET_OPENID

QQ_PLATFORM_API_GET_OPENID = 'https://graph.qq.com/oauth2.0/me?access_token=%s'

QQ_PLATFORM_API_GET_USERINFO

QQ_PLATFORM_API_GET_USERINFO = 'https://graph.qq.com/user/get_user_info?access_token=%s&oauth_consumer_key=%s&openid=%s'