示例#1
0
<?php

/**
 * @author ganiks@qq.com
 * @date 2014-08-28
 */
include_once 'AuthService.php';
$options = array('appKey' => 'kj7swf8o7d7r2', 'appSecret' => 'GsZyWb09hNTnh', 'userId' => '1', 'deviceId' => '', 'format' => 'json', 'name' => 'ganiks', 'portraitUri' => '/user/portraitUri/1');
$p = new AuthService($options);
$ret = $p->request();
print_r($ret);