Functions | |
CASClient::setUser ($user) | |
CASClient::getUser () | |
CASClient::forceAuthentication () | |
CASClient::checkAuthentication () | |
CASClient::isAuthenticated () | |
CASClient::isSessionAuthenticated () | |
CASClient::wasPreviouslyAuthenticated () | |
CASClient::redirectToCas ($gateway=false) | |
CASClient::logout ($url="") | |
Variables | |
CASClient::$_user |
|
This method is called to check whether the ser is authenticated or not.
Definition at line 635 of file client.php. References CASClient::isAuthenticated(), CASClient::redirectToCas(), and phpCAS::traceBegin(). |
|
This method is called to be sure that the user is authenticated. When not authenticated, halt by redirecting to the CAS server; otherwise return TRUE.
Definition at line 611 of file client.php. References CASClient::isAuthenticated(), CASClient::redirectToCas(), and phpCAS::traceBegin(). Referenced by CASClient::getUser(). |
|
This method returns the CAS user's login name.
Definition at line 597 of file client.php. References CASClient::forceAuthentication(), and CASClient::isAuthenticated(). Referenced by CASClient::isAuthenticated(). |
|
This method is called to check if the user is authenticated (previously or by tickets given in the URL
Definition at line 664 of file client.php. References CASClient::getPGT(), CASClient::getUser(), CASClient::isProxy(), phpCAS::traceBegin(), CASClient::validatePGT(), CASClient::validatePT(), CASClient::validateST(), and CASClient::wasPreviouslyAuthenticated(). Referenced by CASClient::checkAuthentication(), CASClient::forceAuthentication(), and CASClient::getUser(). |
|
This method tells if the current session is authenticated.
Definition at line 713 of file client.php. Referenced by CASClient::wasPreviouslyAuthenticated(). |
|
This method is used to logout from CAS.
Definition at line 802 of file client.php. References CAS_STR_LOGOUT, CAS_STR_SHOULD_HAVE_BEEN_REDIRECTED, CASClient::getServerLogoutURL(), CASClient::logout(), CASClient::printHTMLFooter(), phpCAS::traceBegin(), and phpCAS::traceExit(). Referenced by CASClient::getServerLogoutURL(), and CASClient::logout(). |
|
This method is used to redirect the client to the CAS server. It is used by CASClient::forceAuthentication() and CASClient::checkAuthentication().
Definition at line 785 of file client.php. References CAS_STR_AUTHENTICATION_WANTED, CAS_STR_SHOULD_HAVE_BEEN_REDIRECTED, CASClient::printHTMLFooter(), CASClient::redirectToCas(), phpCAS::traceBegin(), and phpCAS::traceExit(). Referenced by CASClient::checkAuthentication(), CASClient::forceAuthentication(), and CASClient::redirectToCas(). |
|
This method sets the CAS user's login name.
Definition at line 585 of file client.php. References CASClient::setUser(). Referenced by CASClient::setUser(). |
|
This method tells if the user has already been (previously) authenticated by looking into the session variables.
Definition at line 728 of file client.php. References CASClient::callback(), CASClient::isCallbackMode(), CASClient::isProxy(), CASClient::isSessionAuthenticated(), CASClient::setPGT(), CASClient::setPT(), CASClient::setST(), and phpCAS::traceBegin(). Referenced by CASClient::isAuthenticated(). |
|
The Authenticated user. Written by CASClient::setUser(), read by CASClient::getUser().
Definition at line 576 of file client.php. |