ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
CAS Proxy features (CAS 2.0, Proxy Granting Tickets)
+ Collaboration diagram for CAS Proxy features (CAS 2.0, Proxy Granting Tickets):

Modules

 PGT storage
 
 Callback from the CAS server
 
 Proxy other services
 

Functions

 CAS_Client::isProxy ()
 Tells if a CAS client is a CAS proxy or not. More...
 
 CAS_Client::_getPGT ()
 This method returns the Proxy Granting Ticket given by the CAS server. More...
 
 CAS_Client::_setPGT ($pgt)
 This method stores the Proxy Granting Ticket. More...
 
 CAS_Client::_hasPGT ()
 This method tells if a Proxy Granting Ticket was stored. More...
 

Variables

 CAS_Client::$_proxy
 A boolean telling if the client is a CAS proxy or not. More...
 
 CAS_Client::$_serviceCookieJar
 Handler for managing service cookies. More...
 
 CAS_Client::$_pgt
 the Proxy Grnting Ticket given by the CAS server (empty otherwise). More...
 

Detailed Description

Function Documentation

◆ _getPGT()

CAS_Client::_getPGT ( )
private

This method returns the Proxy Granting Ticket given by the CAS server.

Returns
string the Proxy Granting Ticket.

Definition at line 2271 of file Client.php.

References CAS_Client\$_pgt.

Referenced by CAS_Client\isAuthenticated(), and CAS_Client\retrievePT().

2272  {
2273  return $this->_pgt;
2274  }
$_pgt
the Proxy Grnting Ticket given by the CAS server (empty otherwise).
Definition: Client.php:2264
+ Here is the caller graph for this function:

◆ _hasPGT()

CAS_Client::_hasPGT ( )
private

This method tells if a Proxy Granting Ticket was stored.

Returns
true if a Proxy Granting Ticket has been stored.

Definition at line 2293 of file Client.php.

2294  {
2295  return !empty($this->_pgt);
2296  }

◆ _setPGT()

CAS_Client::_setPGT (   $pgt)
private

This method stores the Proxy Granting Ticket.

Parameters
string$pgtThe Proxy Granting Ticket.
Returns
void

Definition at line 2283 of file Client.php.

Referenced by CAS_Client\_validatePGT(), and CAS_Client\_wasPreviouslyAuthenticated().

2284  {
2285  $this->_pgt = $pgt;
2286  }
+ Here is the caller graph for this function:

◆ isProxy()

CAS_Client::isProxy ( )

Tells if a CAS client is a CAS proxy or not.

Returns
true when the CAS client is a CAs proxy, false otherwise

Definition at line 2242 of file Client.php.

References CAS_Client\$_proxy.

Referenced by CAS_Client\__construct(), CAS_Client\_wasPreviouslyAuthenticated(), CAS_Client\ensureIsProxy(), CAS_Client\isAuthenticated(), and CAS_Client\validateCAS20().

2243  {
2244  return $this->_proxy;
2245  }
$_proxy
A boolean telling if the client is a CAS proxy or not.
Definition: Client.php:2230
+ Here is the caller graph for this function:

Variable Documentation

◆ $_pgt

CAS_Client::$_pgt
private

the Proxy Grnting Ticket given by the CAS server (empty otherwise).

Written by CAS_Client::_setPGT(), read by CAS_Client::_getPGT() and CAS_Client::_hasPGT().

Definition at line 2264 of file Client.php.

Referenced by CAS_Client\_getPGT().

◆ $_proxy

CAS_Client::$_proxy
private

A boolean telling if the client is a CAS proxy or not.

Written by CAS_Client::CAS_Client(), read by CAS_Client::isProxy().

Definition at line 2230 of file Client.php.

Referenced by CAS_Client\isProxy().

◆ $_serviceCookieJar

CAS_Client::$_serviceCookieJar
private

Handler for managing service cookies.

Definition at line 2235 of file Client.php.