oauth登录部分删除测试用的代码

This commit is contained in:
Li Jianxuan 2013-11-22 02:31:25 +00:00
parent 6ab8c24f94
commit c0642c240a
1 changed files with 634 additions and 641 deletions

View File

@ -613,14 +613,7 @@ class AccountController extends Zend_Controller_Action
$target = $client->getSource()->getTarget($type);
$this->view->target_name = $target['name'];
//$token = $client->requestToken($code);
$token = array(
"expires_in"=>(int)432000,
"refresh_token"=>(string)"eb40e792e05a21e779aa89d71066fa61",
"userInfo"=>(string)'{"passwordType":"password_umt","securityEmail":"liujin834@live.com","cstnetIdStatus":"active","umtId":"10247308","truename":"李建轩","cstnetId":"liujin834@live.com","type":"umt"}',
"access_token"=>(string)"48415c56215f5cd26baabe403864aaf7"
);
$token = $client->requestToken($code);
if(is_string($token))
{