示例#1
0
 /**
  * 用于生成用户授权的地址
  * @return OAuth2
  */
 public function getOAuth2()
 {
     $oa = new OAuth2();
     $oa->setApp($this->getApp());
     $oa->setLogger($this->getLogger());
     return $oa;
 }