ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
This interface defines methods that allow proxy-authenticated service handlers to interact with phpCAS. More...
Public Member Functions | |
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... | |
This interface defines methods that allow proxy-authenticated service handlers to interact with phpCAS.
Proxy service handlers must implement this interface as well as call phpCAS::initializeProxiedService($this) at some point in their implementation.
While not required, proxy-authenticated service handlers are encouraged to implement the CAS_ProxiedService_Testable interface to facilitate unit testing.
Definition at line 47 of file ProxiedService.php.
CAS_ProxiedService::getServiceUrl | ( | ) |
Answer a service identifier (URL) for whom we should fetch a proxy ticket.
Exception | If no service url is available. |
Referenced by CAS_Client\initializeProxiedService().
CAS_ProxiedService::setProxyTicket | ( | $proxyTicket | ) |
Register a proxy ticket with the ProxiedService that it can use when making requests.
string | $proxyTicket | Proxy ticket string |
InvalidArgumentException | If the $proxyTicket is invalid. |
CAS_OutOfSequenceException | If called after a proxy ticket has already been initialized/set. |
Referenced by CAS_Client\initializeProxiedService().