phpCAS::authenticate | ( | ) | [inherited] |
phpCAS::checkAuthentication | ( | ) | [inherited] |
This method is called to check if the user is authenticated (use the gateway feature).
Definition at line 857 of file CAS.php.
References $auth, phpCAS::backtrace(), phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::forceAuthentication | ( | ) | [inherited] |
This method is called to force authentication if the user was not already authenticated. If the user is not authenticated, halt by redirecting to the CAS server.
Definition at line 885 of file CAS.php.
References $auth, phpCAS::backtrace(), phpCAS::error(), phpCAS::getUser(), phpCAS::trace(), and phpCAS::traceBegin().
phpCAS::getAttributes | ( | ) | [inherited] |
This method returns the CAS user's login name.
Definition at line 1020 of file CAS.php.
References phpCAS::error().
phpCAS::getServerLoginURL | ( | ) | [inherited] |
This method returns the URL to be used to login. or phpCAS::isAuthenticated().
Definition at line 1050 of file CAS.php.
References phpCAS::error().
phpCAS::getServerLogoutURL | ( | ) | [inherited] |
This method returns the URL to be used to login. or phpCAS::isAuthenticated().
Definition at line 1146 of file CAS.php.
References phpCAS::error().
phpCAS::getServiceURL | ( | ) | [inherited] |
Get the URL that is set as the CAS service parameter.
Definition at line 1314 of file CAS.php.
References phpCAS::error().
phpCAS::getUser | ( | ) | [inherited] |
This method returns the CAS user's login name.
Definition at line 999 of file CAS.php.
References phpCAS::error().
Referenced by phpCAS::forceAuthentication().
phpCAS::handleLogoutRequests | ( | $ | check_client = true , |
|
$ | allowed_clients = false | |||
) | [inherited] |
phpCAS::isAuthenticated | ( | ) | [inherited] |
phpCAS::isSessionAuthenticated | ( | ) | [inherited] |
phpCAS::logout | ( | $ | params = "" |
) | [inherited] |
This method is used to logout from CAS. $params an array that contains the optional url and service parameters that will be passed to the CAS server
Definition at line 1179 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::logoutWithRedirectService | ( | $ | service | ) | [inherited] |
This method is used to logout from CAS. Halts by redirecting to the CAS server.
$service | a URL that will be transmitted to the CAS server |
Definition at line 1209 of file CAS.php.
References $service, phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::logoutWithRedirectServiceAndUrl | ( | $ | service, | |
$ | url | |||
) | [inherited] |
This method is used to logout from CAS. Halts by redirecting to the CAS server.
$service | a URL that will be transmitted to the CAS server | |
$url | a URL that will be transmitted to the CAS server |
Definition at line 1250 of file CAS.php.
References $service, phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::logoutWithUrl | ( | $ | url | ) | [inherited] |
This method is used to logout from CAS. Halts by redirecting to the CAS server.
$url | a URL that will be transmitted to the CAS server |
Definition at line 1229 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::renewAuthentication | ( | ) | [inherited] |
phpCAS::retrievePT | ( | $ | target_service, | |
&$ | err_code, | |||
&$ | err_msg | |||
) | [inherited] |
Retrieve a Proxy Ticket from the CAS server.
Definition at line 1325 of file CAS.php.
References phpCAS::error().
phpCAS::setCacheTimesForAuthRecheck | ( | $ | n | ) | [inherited] |
Set the times authentication will be cached before really accessing the CAS server in gateway mode:
$n | an integer. |
Definition at line 842 of file CAS.php.
References phpCAS::error().
phpCAS::setCasServerCACert | ( | $ | cert | ) | [inherited] |
Set the certificate of the CAS server CA.
$cert | the CA certificate |
Definition at line 1359 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::setCasServerCert | ( | $ | cert | ) | [inherited] |
Set the certificate of the CAS server.
$cert | the PEM certificate |
Definition at line 1341 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::setFixedCallbackURL | ( | $ | url = '' |
) | [inherited] |
Set the fixed URL that will be used by the CAS server to transmit the PGT. When this method is not called, a phpCAS script uses its own URL for the callback.
$url | the URL |
Definition at line 1276 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::setFixedServiceURL | ( | $ | url | ) | [inherited] |
Set the fixed URL that will be set as the CAS service parameter. When this method is not called, a phpCAS script uses its own URL.
$url | the URL |
Definition at line 1298 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::setNoCasServerValidation | ( | ) | [inherited] |
Set no SSL validation for the CAS server.
Definition at line 1375 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::setServerLoginURL | ( | $ | url = '' |
) | [inherited] |
Set the login URL of the CAS server.
$url | the login URL |
Definition at line 1063 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::setServerLogoutURL | ( | $ | url = '' |
) | [inherited] |
Set the logout URL of the CAS server.
$url | the logout URL |
Definition at line 1159 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::setServerProxyValidateURL | ( | $ | url = '' |
) | [inherited] |
Set the proxyValidate URL of the CAS server. Used for all CAS 2.0 validations
$url | the proxyValidate URL |
Definition at line 1105 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::setServerSamlValidateURL | ( | $ | url = '' |
) | [inherited] |
Set the samlValidate URL of the CAS server.
$url | the samlValidate URL |
Definition at line 1125 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().
phpCAS::setServerServiceValidateURL | ( | $ | url = '' |
) | [inherited] |
Set the serviceValidate URL of the CAS server. Used only in CAS 1.0 validations
$url | the serviceValidate URL |
Definition at line 1084 of file CAS.php.
References phpCAS::error(), phpCAS::traceBegin(), and phpCAS::traceEnd().