示例#1
0
 /**
  * Constructor
  *
  * @param string $portal_host
  * @param string $username
  * @param string $password
  */
 public function __construct($portal_host, $username, $password, $debug = FALSE)
 {
     try {
         parent::__construct($portal_host, 'VidyoPortalSuperService', $username, $password, $debug);
     } catch (Exception $e) {
         $this->error($e->faultstring);
         return FALSE;
     }
     return $client;
 }
示例#2
0
 /**
  * Constructor
  *
  * @param string $portal_host
  * @param string $username
  * @param string $password
  */
 public function __construct($portal_host, $username, $password, $debug = FALSE)
 {
     try {
         parent::__construct($portal_host, 'v1_1/VidyoPortalUserService', $username, $password, $debug);
         $login = $this->logIn();
         $this->pak = $login->pak;
         $this->pak2 = $login->pak2;
         $this->vm = $login->vmaddress;
         $this->proxy = $login->proxyaddress;
         $params = array('EID' => $username);
         $this->linkEndpoint($params);
         $params = array('validityTime' => 200, 'endpointId' => $username);
         $this->auth_token = $this->generateAuthToken($params);
     } catch (Exception $e) {
         $this->error($e->faultstring);
         return FALSE;
     }
     return $client;
 }
示例#3
0
 /**
  * Constructor
  *
  * @param string $portal_host
  * @param string $username
  * @param string $password
  */
 public function __construct($portal_host, $username, $password, $debug = FALSE)
 {
     parent::__construct($portal_host, 'VidyoPortalAdminService', $username, $password, $debug);
 }