对应API:{@link http://open.weibo.com/wiki/OAuth2/access_token OAuth2/access_token}
public getAccessToken ( string $type = 'code', array $keys ) : array | ||
$type | string | 请求的类型,可以为:code, password, token |
$keys | array | 其他参数: - 当$type为code时: array('code'=>..., 'redirect_uri'=>...) - 当$type为password时: array('username'=>..., 'password'=>...) - 当$type为token时: array('refresh_token'=>...) |
return | array |