Public Member Functions | |
setProxyTicket ($proxyTicket) | |
setCasClient (CAS_Client $casClient) | |
Protected Member Functions | |
getProxyTicket () | |
initializeProxyTicket () | |
Private Attributes | |
$_proxyTicket | |
$_casClient |
This class implements common methods for ProxiedService implementations included with phpCAS.
Definition at line 41 of file Abstract.php.
CAS_ProxiedService_Abstract::getProxyTicket | ( | ) | [protected] |
Answer the proxy ticket to be used when making requests.
CAS_OutOfSequenceException | If called before a proxy ticket has already been initialized/set. |
Definition at line 74 of file Abstract.php.
Referenced by CAS_ProxiedService_Http_Abstract::send().
CAS_ProxiedService_Abstract::initializeProxyTicket | ( | ) | [protected] |
Fetch our proxy ticket.
Descendent classes should call this method once their service URL is available to initialize their proxy ticket.
CAS_OutOfSequenceException | If called after a proxy ticket has already been initialized. |
Definition at line 113 of file Abstract.php.
References phpCAS::initializeProxiedService().
Referenced by CAS_ProxiedService_Imap::open(), and CAS_ProxiedService_Http_Abstract::send().
CAS_ProxiedService_Abstract::setCasClient | ( | CAS_Client $ | casClient | ) |
Use a particular CAS_Client->initializeProxiedService() rather than the static phpCAS::initializeProxiedService().
This method should not be called in standard operation, but is needed for unit testing.
CAS_Client | $casClient |
CAS_OutOfSequenceException | If called after a proxy ticket has already been initialized/set. |
Implements CAS_ProxiedService_Testable.
Definition at line 97 of file Abstract.php.
CAS_ProxiedService_Abstract::setProxyTicket | ( | $ | proxyTicket | ) |
Register a proxy ticket with the Proxy that it can use when making requests.
string | $proxyTicket |
InvalidArgumentException | If the $proxyTicket is invalid. | |
CAS_OutOfSequenceException | If called after a proxy ticket has already been initialized/set. |
Definition at line 59 of file Abstract.php.
CAS_Client CAS_ProxiedService_Abstract::$_casClient [private] |
Definition at line 84 of file Abstract.php.
string CAS_ProxiedService_Abstract::$_proxyTicket [private] |
The proxy ticket that can be used when making service requests.
Definition at line 49 of file Abstract.php.