示例#1
0
文件: Session.php 项目: techart/tao
 /**
  * @param WS_ServiceInterface         $application
  * @param WS_Auth_AuthModuleInterface $auth_module
  * @param string                      $auth_url
  */
 public function __construct(WS_ServiceInterface $application, WS_Auth_AuthFindModuleInterface $auth_module, $auth_url = '/auth/?url={url}')
 {
     parent::__construct($application, $auth_module);
     $this->auth_url = $auth_url;
 }
示例#2
0
文件: Basic.php 项目: techart/tao
 public function __construct(WS_ServiceInterface $application, WS_Auth_AuthModuleInterface $auth_module, $options = array())
 {
     parent::__construct($application, $auth_module);
     $this->options = array_merge($this->options, $options);
 }