ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
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
 

Functions

 CASClient::isProxy ()
 Tells if a CAS client is a CAS proxy or not. More...
 
 CASClient::getPGT ()
 This method returns the Proxy Granting Ticket given by the CAS server. More...
 
 CASClient::setPGT ($pgt)
 This method stores the Proxy Granting Ticket. More...
 
 CASClient::hasPGT ()
 This method tells if a Proxy Granting Ticket was stored. More...
 

Variables

 CASClient::$_proxy
 A boolean telling if the client is a CAS proxy or not. More...
 
 CASClient::$_pgt
 the Proxy Grnting Ticket given by the CAS server (empty otherwise). More...
 

Detailed Description

Function Documentation

◆ getPGT()

CASClient::getPGT ( )
private

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

Returns
The Proxy Granting Ticket.

Definition at line 1709 of file client.php.

References CASClient\$_pgt.

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

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

◆ hasPGT()

CASClient::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 1725 of file client.php.

1726  { return !empty($this->_pgt); }

◆ isProxy()

CASClient::isProxy ( )
private

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 1681 of file client.php.

References CASClient\$_proxy.

Referenced by CASClient\CASClient(), CASClient\isAuthenticated(), CASClient\validatePT(), CASClient\validateST(), and CASClient\wasPreviouslyAuthenticated().

1682  {
1683  return $this->_proxy;
1684  }
$_proxy
A boolean telling if the client is a CAS proxy or not.
Definition: client.php:1672
+ Here is the caller graph for this function:

◆ setPGT()

CASClient::setPGT (   $pgt)
private

This method stores the Proxy Granting Ticket.

Parameters
$pgtThe Proxy Granting Ticket.

Definition at line 1717 of file client.php.

Referenced by CASClient\validatePGT(), and CASClient\wasPreviouslyAuthenticated().

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

Variable Documentation

◆ $_pgt

CASClient::$_pgt
private

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

Written by CASClient::setPGT(), read by CASClient::getPGT() and CASClient::hasPGT().

Definition at line 1702 of file client.php.

Referenced by CASClient\getPGT(), and CASClient\isProxy().

◆ $_proxy

CASClient::$_proxy
private

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

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

Definition at line 1672 of file client.php.

Referenced by CASClient\isProxy(), and CASClient\validateST().