claroline/claroline/backends/sso/server.php File Reference

Go to the source code of this file.

Namespaces

namespace  SSO

Functions

 get_user_info_from_cookie ($auth, $cookie, $cid, $gid)
 generate_cookie ()
 record_sso_cookie ($userId, $ssoCookie)
 is_allowed_to_receive_user_info ($auth)

Variables

 $HTTP_RAW_POST_DATA
 $server = new soap_server()

Function Documentation

generate_cookie (  ) 

generate a crypted aleatoric cookie value

Author:
Hugues Peeters <peeters@ipm.ucl.ac.be>
Returns:
string

Definition at line 250 of file server.php.

get_user_info_from_cookie ( auth,
cookie,
cid,
gid 
)

get user parameter on the base of a cookie value

Author:
Hugues Peeters <peeters@ipm.ucl.ac.be>
Parameters:
string $auth
string $cookie
string $cid
int $gid
Returns:
array user parameters if it suceeds boolean false otherwise

Definition at line 63 of file server.php.

is_allowed_to_receive_user_info ( auth  ) 

check if the soap client is allowed to receive the user information recorded into the system

Author:
Hugues Peeters <peeters@ipm.ucl.ac.be>
Parameters:
string $auth
Returns:
boolean true if is allowed, false otherwise

Definition at line 298 of file server.php.

record_sso_cookie ( userId,
ssoCookie 
)

records the cookie value of specific user during authentication

Author:
Hugues Peeters <peeters@ipm.ucl.ac.be>
Parameters:
int $userId
string $cookie

Definition at line 264 of file server.php.


Variable Documentation

$HTTP_RAW_POST_DATA
Initial value:
 isset($HTTP_RAW_POST_DATA)
    ? $HTTP_RAW_POST_DATA
    : file_get_contents("php://input")

Definition at line 26 of file server.php.

$server = new soap_server()

Definition at line 35 of file server.php.

Generated on Tue Jun 8 12:28:36 2010 for Claroline API by  doxygen 1.6.3