Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/auth/mnet/land.php File Reference

Go to the source code of this file.

Namespaces

namespace  moodle

Variables

 $token = required_param('token', PARAM_BASE64)
 $remotewwwroot = required_param('idp', PARAM_URL)
 $wantsurl = required_param('wantsurl', PARAM_LOCALURL)
 $wantsremoteurl = optional_param('remoteurl', false, PARAM_BOOL)
 $url = new moodle_url('/auth/mnet/jump.php', array('token'=>$token, 'idp'=>$remotewwwroot, 'wantsurl'=>$wantsurl))
 $site = get_site()
if(!is_enabled_auth('mnet')) $mnetauth = get_auth_plugin('mnet')
 $remotepeer = new mnet_peer()
 $localuser = $mnetauth->confirm_mnet_session($token, $remotepeer)
 $user = get_complete_user_data('id', $localuser->id, $localuser->mnethostid)

Variable Documentation

$localuser = $mnetauth->confirm_mnet_session($token, $remotepeer)

Definition at line 39 of file land.php.

if (!is_enabled_auth('mnet')) $mnetauth = get_auth_plugin('mnet')

Definition at line 35 of file land.php.

$remotepeer = new mnet_peer()

Definition at line 36 of file land.php.

$remotewwwroot = required_param('idp', PARAM_URL)

Definition at line 20 of file land.php.

$site = get_site()

Definition at line 28 of file land.php.

$token = required_param('token', PARAM_BASE64)

Definition at line 19 of file land.php.

$url = new moodle_url('/auth/mnet/jump.php', array('token'=>$token, 'idp'=>$remotewwwroot, 'wantsurl'=>$wantsurl))

Definition at line 24 of file land.php.

$user = get_complete_user_data('id', $localuser->id, $localuser->mnethostid)

Definition at line 42 of file land.php.

if ($wantsremoteurl!==false) $url->param('remoteurl' $wantsremoteurl = optional_param('remoteurl', false, PARAM_BOOL)

Definition at line 22 of file land.php.

$wantsurl = required_param('wantsurl', PARAM_LOCALURL)

Definition at line 21 of file land.php.

 All Data Structures Namespaces Files Functions Variables Enumerations