ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Functions | |
CAS_Client::validateSA (&$validate_url, &$text_response, &$tree_response, $renew=false) | |
This method is used to validate a SAML TICKET; halt on failure, and sets $validate_url, $text_reponse and $tree_response on success. More... | |
CAS_Client::_setSessionAttributes ($text_response) | |
This method will parse the DOM and pull out the attributes from the SAML payload and put them into an array, then put the array into the session. More... | |
|
private |
This method will parse the DOM and pull out the attributes from the SAML payload and put them into an array, then put the array into the session.
string | $text_response | the SAML payload. |
Definition at line 2162 of file Client.php.
References $result, array, phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Referenced by CAS_Client\validateSA().
CAS_Client::validateSA | ( | & | $validate_url, |
& | $text_response, | ||
& | $tree_response, | ||
$renew = false |
|||
) |
This method is used to validate a SAML TICKET; 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.
string | &$validate_url | reference to the the URL of the request to the CAS server. |
string | &$text_response | reference to the response of the CAS server, as is (XML text). |
string | &$tree_response | reference to the response of the CAS server, as a DOM XML tree. |
bool | $renew | true to force the authentication with the CAS server |
Definition at line 2065 of file Client.php.
References $result, CAS_Client\_renameSession(), CAS_Client\_setSessionAttributes(), CAS_Client\_setUser(), CAS_Client\getTicket(), phpCAS\trace(), and phpCAS\traceEnd().
Referenced by CAS_Client\isAuthenticated().