|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| auth_plugin_shibboleth () | |
| user_login ($username, $password) | |
| get_userinfo ($username) | |
| get_attributes () | |
| prevent_local_passwords () | |
| is_internal () | |
| can_change_password () | |
| loginpage_hook () | |
| logoutpage_hook () | |
| config_form ($config, $err, $user_fields) | |
| process_config ($config) | |
| get_first_string ($string) | |
Returns true if this authentication plugin can change the user's password.
Reimplemented from auth_plugin_base.
| config_form | ( | $ | config, |
| $ | err, | ||
| $ | user_fields | ||
| ) |
Prints a form for configuring this authentication plugin.
This function is called from admin/auth.php, and outputs a full page with a form for configuring this plugin.
| array | $page | An object containing all the data for this page. |
Reimplemented from auth_plugin_base.
| get_attributes | ( | ) |
| get_first_string | ( | $ | string | ) |
| get_userinfo | ( | $ | username | ) |
Returns the user information for 'external' users. In this case the attributes provided by Shibboleth
Reimplemented from auth_plugin_base.
Definition at line 91 of file auth.php.

| is_internal | ( | ) |
Returns true if this authentication plugin is 'internal'.
Reimplemented from auth_plugin_base.
| loginpage_hook | ( | ) |
| logoutpage_hook | ( | ) |
Indicates if password hashes should be stored in local moodle database.
Reimplemented from auth_plugin_base.
| process_config | ( | $ | config | ) |
Processes and stores configuration data for this authentication plugin.
| object | $config | Configuration object |
Reimplemented from auth_plugin_base.
Definition at line 235 of file auth.php.

| user_login | ( | $ | username, |
| $ | password | ||
| ) |
Returns true if the username and password work and false if they are wrong or don't exist.
| string | $username | The username (with system magic quotes) |
| string | $password | The password (with system magic quotes) |
Reimplemented from auth_plugin_base.