Functions | |
CAS_Client::getST () | |
CAS_Client::setST ($st) | |
CAS_Client::hasST () | |
CAS_Client::setCasServerCACert ($cert) | |
CAS_Client::setNoCasServerValidation () | |
CAS_Client::validateST ($validate_url, &$text_response, &$tree_response) | |
Variables | |
CAS_Client::$_st | |
CAS_Client::$_cas_server_ca_cert | |
CAS_Client::$_no_cas_server_validation |
CAS_Client::getST | ( | ) | [inherited] |
This method returns the Service Ticket provided in the URL of the request.
Definition at line 1418 of file Client.php.
Referenced by CAS_Client::isAuthenticated(), and CAS_Client::validateST().
CAS_Client::hasST | ( | ) | [inherited] |
This method tells if a Service Ticket was stored.
Definition at line 1432 of file Client.php.
Referenced by CAS_Client::isAuthenticated().
CAS_Client::setCasServerCACert | ( | $ | cert | ) | [inherited] |
Set the CA certificate of the CAS server.
$cert | the PEM certificate of the CA that emited the cert of the server |
Definition at line 1465 of file Client.php.
CAS_Client::setNoCasServerValidation | ( | ) | [inherited] |
Set no SSL validation for the CAS server.
Definition at line 1473 of file Client.php.
CAS_Client::setST | ( | $ | st | ) | [inherited] |
This method stores the Service Ticket.
$st | The Service Ticket. |
Definition at line 1425 of file Client.php.
Referenced by CAS_Client::wasPreviouslyAuthenticated().
CAS_Client::validateST | ( | $ | validate_url, | |
&$ | text_response, | |||
&$ | tree_response | |||
) | [inherited] |
This method is used to validate a ST; halt on failure, and sets $validate_url, $text_reponse and $tree_response on success. These parameters are used later by CAS_Client::validatePGT() for CAS proxies. Used for all CAS 1.0 validations
$validate_url | the URL of the request to the CAS server. | |
$text_response | the response of the CAS server, as is (XML text). | |
$tree_response | the response of the CAS server, as a DOM XML tree. |
Definition at line 1489 of file Client.php.
References CAS_Client::authError(), CAS_Client::getCallbackURL(), CAS_Client::getServerServiceValidateURL(), CAS_Client::getST(), CAS_Client::isProxy(), CAS_Client::readExtraAttributesCas20(), CAS_Client::readURL(), CAS_Client::setUser(), phpCAS::trace(), and phpCAS::traceBegin().
CAS_Client::$_cas_server_ca_cert [private, inherited] |
the certificate of the CAS server CA.
Definition at line 1450 of file Client.php.
CAS_Client::$_no_cas_server_validation [private, inherited] |
Set to true not to validate the CAS server.
Definition at line 1457 of file Client.php.
CAS_Client::$_st [private, inherited] |
the Service Ticket provided in the URL of the request if present (empty otherwise). Written by CAS_Client::CAS_Client(), read by CAS_Client::getST() and CAS_Client::hasPGT().
Definition at line 1412 of file Client.php.