Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/login/token.php File Reference

Go to the source code of this file.

Namespaces

namespace  moodlecore

Enumerations

enum  AJAX_SCRIPT
enum  NO_MOODLE_COOKIES

Variables

 $username = required_param('username', PARAM_USERNAME)
 $password = required_param('password', PARAM_RAW)
 $serviceshortname = required_param('service', PARAM_ALPHANUMEXT)
if(is_restored_user($username)) $user = authenticate_user_login($username, $password)

Enumeration Type Documentation

Definition at line 24 of file token.php.

Definition at line 25 of file token.php.


Variable Documentation

$password = required_param('password', PARAM_RAW)

Definition at line 30 of file token.php.

$serviceshortname = required_param('service', PARAM_ALPHANUMEXT)

Definition at line 31 of file token.php.

Definition at line 42 of file token.php.

if (!$CFG->enablewebservices) $username = required_param('username', PARAM_USERNAME)

Definition at line 29 of file token.php.

 All Data Structures Namespaces Files Functions Variables Enumerations