oauth登录部分删除测试用的代码
This commit is contained in:
parent
6ab8c24f94
commit
c0642c240a
|
@ -613,14 +613,7 @@ class AccountController extends Zend_Controller_Action
|
||||||
$target = $client->getSource()->getTarget($type);
|
$target = $client->getSource()->getTarget($type);
|
||||||
$this->view->target_name = $target['name'];
|
$this->view->target_name = $target['name'];
|
||||||
|
|
||||||
//$token = $client->requestToken($code);
|
$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"
|
|
||||||
);
|
|
||||||
|
|
||||||
if(is_string($token))
|
if(is_string($token))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue