Example #1
0
 /**
  * @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;
 }
Example #2
0
 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);
 }