\Oauth

Summary

Methods
Properties
Constants
__construct()
qq_login()
qq_callback()
get_openid()
$urlUtils
VERSION
GET_AUTH_CODE_URL
GET_ACCESS_TOKEN_URL
GET_OPENID_URL
No protected methods found
$recorder
$error
N/A
No private methods found
No private properties found
N/A

Constants

VERSION

VERSION = "2.0"

GET_AUTH_CODE_URL

GET_AUTH_CODE_URL = "https://graph.qq.com/oauth2.0/authorize"

GET_ACCESS_TOKEN_URL

GET_ACCESS_TOKEN_URL = "https://graph.qq.com/oauth2.0/token"

GET_OPENID_URL

GET_OPENID_URL = "https://graph.qq.com/oauth2.0/me"

Properties

$urlUtils

$urlUtils : 

Type

$recorder

$recorder : 

Type

$error

$error : 

Type

Methods

__construct()

__construct() 

qq_login()

qq_login(  $appid,   $callback) 

Parameters

$appid
$callback

qq_callback()

qq_callback(  $appid,   $appkey,   $callback,   $code) 

Parameters

$appid
$appkey
$callback
$code

get_openid()

get_openid(  $access_token) 

Parameters

$access_token