CASClient Class Reference

List of all members.

Public Member Functions

 setHTMLHeader ($header)
 setHTMLFooter ($footer)
 setLang ($lang)
 setExtraCurlOption ($key, $value)
 CASClient ($server_version, $proxy, $server_hostname, $server_port, $server_uri, $start_session=true)
 getUser ()
 setAttributes ($attributes)
 getAttributes ()
 hasAttributes ()
 hasAttribute ($key)
 getAttribute ($key)
 renewAuthentication ()
 forceAuthentication ()
 setCacheTimesForAuthRecheck ($n)
 checkAuthentication ()
 isAuthenticated ()
 isSessionAuthenticated ()
 redirectToCas ($gateway=false, $renew=false)
 logout ($params)
 handleLogoutRequests ($check_client=true, $allowed_clients=false)
 setCasServerCert ($cert)
 setCasServerCACert ($cert)
 setNoCasServerValidation ()
 setPGTStorageFile ($format='', $path='')
 setPGTStorageDB ($user, $password, $database_type, $hostname, $port, $database, $table)
 _curl_read_headers ($ch, $header)
 serviceWeb ($url, &$err_code, &$output)
 serviceMail ($url, $service, $flags, &$err_code, &$err_msg, &$pt)
 removeParameterFromQueryString ($parameterName, $queryString)

Public Attributes

 $_curl_options = array()
 $_curl_headers = array()

Private Member Functions

 HTMLFilterOutput ($str)
 printHTMLHeader ($title)
 printHTMLFooter ()
 getLang ()
 getString ($str)
 getServerVersion ()
 getServerHostname ()
 getServerPort ()
 getServerURI ()
 getServerBaseURL ()
 getServerLoginURL ($gateway=false, $renew=false)
 setServerLoginURL ($url)
 setServerServiceValidateURL ($url)
 setServerProxyValidateURL ($url)
 setServerSamlValidateURL ($url)
 getServerServiceValidateURL ()
 getServerSamlValidateURL ()
 getServerProxyValidateURL ()
 getServerProxyURL ()
 getServerLogoutURL ()
 setServerLogoutURL ($url)
 isHttps ()
 setUser ($user)
 wasPreviouslyAuthenticated ()
 isLogoutRequest ()
 isLogoutRequestAllowed ()
 getST ()
 setST ($st)
 hasST ()
 validateST ($validate_url, &$text_response, &$tree_response)
 validateSA ($validate_url, &$text_response, &$tree_response)
 setSessionAttributes ($text_response)
 isProxy ()
 getPGT ()
 setPGT ($pgt)
 hasPGT ()
 setCallbackMode ($callback_mode)
 isCallbackMode ()
 getCallbackURL ()
 setCallbackURL ($url)
 callback ()
 initPGTStorage ()
 storePGT ($pgt, $pgt_iou)
 loadPGT ($pgt_iou)
 validatePGT (&$validate_url, $text_response, $tree_response)
 retrievePT ($target_service, &$err_code, &$err_msg)
 readURL ($url, $cookies, &$headers, &$body, &$err_msg)
 buildSAMLPayload ()
 getPT ()
 setPT ($pt)
 hasPT ()
 getSA ()
 setSA ($sa)
 hasSA ()
 validatePT (&$validate_url, &$text_response, &$tree_response)
 getURL ()
 setURL ($url)
 authError ($failure, $cas_url, $no_response, $bad_response='', $cas_response='', $err_code='', $err_msg='')

Private Attributes

 $_output_header
 $_output_footer
 $_lang
 $_strings
 $_server
 $_user
 $_attributes
 $_cache_times_for_auth_recheck
 $_st
 $_cas_server_cert
 $_cas_server_ca_cert
 $_no_cas_server_validation
 $_proxy
 $_pgt
 $_callback_mode
 $_callback_url
 $_pgt_storage
 $_pt
 $_url

Detailed Description

The CASClient class is a client interface that provides CAS authentication to PHP applications.

Author:
Pascal Aubry <pascal.aubry at univ-rennes1.fr>

Definition at line 51 of file client.php.

Generated on Fri Jun 18 10:24:05 2010 for phpCAS by  doxygen 1.6.3