CAS_Client::getProxies PHP Method

getProxies() public method

This method will only return a non-empty array if we have received and validated a Proxy Ticket.
public getProxies ( ) : array
return array
    public function getProxies()
    {
        return $this->_proxies;
    }

Usage Example

コード例 #1
0
 /**
  * Test that our list of proxies is not availible on ticket failure.
  *
  * @return void
  */
 public function testInvalidTicketProxyList()
 {
     $this->object->setTicket('ST-1856339-aA5Yuvrxzpv8Tau1cYQ7');
     ob_start();
     try {
         $result = $this->object->validateCAS20($url, $text_response, $tree_response);
     } catch (CAS_AuthenticationException $e) {
     }
     ob_end_clean();
     $this->assertEquals(array(), $this->object->getProxies(), "The list of proxies in front of the client.");
 }
All Usage Examples Of CAS_Client::getProxies
CAS_Client