|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
This class implements common methods for ProxiedService implementations included with phpCAS. More...
Inheritance diagram for CAS_ProxiedService_Abstract:
Collaboration diagram for CAS_ProxiedService_Abstract:Public Member Functions | |
| setProxyTicket ($proxyTicket) | |
| Register a proxy ticket with the Proxy that it can use when making requests. More... | |
| setCasClient (CAS_Client $casClient) | |
| Use a particular CAS_Client->initializeProxiedService() rather than the static phpCAS::initializeProxiedService(). More... | |
Public Member Functions inherited from CAS_ProxiedService | |
| getServiceUrl () | |
| Answer a service identifier (URL) for whom we should fetch a proxy ticket. More... | |
| setProxyTicket ($proxyTicket) | |
| Register a proxy ticket with the ProxiedService that it can use when making requests. More... | |
| setCasClient (CAS_Client $casClient) | |
| Use a particular CAS_Client->initializeProxiedService() rather than the static phpCAS::initializeProxiedService(). More... | |
Protected Member Functions | |
| getProxyTicket () | |
| Answer the proxy ticket to be used when making requests. More... | |
| initializeProxyTicket () | |
| Fetch our proxy ticket. More... | |
Private Attributes | |
| $_proxyTicket | |
| The proxy ticket that can be used when making service requests. More... | |
| $_casClient | |
This class implements common methods for ProxiedService implementations included with phpCAS.
Definition at line 41 of file Abstract.php.
|
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 83 of file Abstract.php.
References $_proxyTicket.
Referenced by CAS_ProxiedService_Http_Abstract\send().
Here is the caller graph for this function:
|
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 133 of file Abstract.php.
References phpCAS\initializeProxiedService().
Referenced by CAS_ProxiedService_Imap\open(), and CAS_ProxiedService_Http_Abstract\send().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 client |
| CAS_OutOfSequenceException | If called after a proxy ticket has already been initialized/set. |
Implements CAS_ProxiedService_Testable.
Definition at line 112 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 | proxy ticket |
| InvalidArgumentException | If the $proxyTicket is invalid. |
| CAS_OutOfSequenceException | If called after a proxy ticket has already been initialized/set. |
Reimplemented from CAS_ProxiedService.
Definition at line 61 of file Abstract.php.
|
private |
Definition at line 97 of file Abstract.php.
|
private |
The proxy ticket that can be used when making service requests.
Definition at line 49 of file Abstract.php.
Referenced by getProxyTicket().