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


Public Member Functions | |
| auth_plugin_none () | |
| user_login ($username, $password) | |
| user_update_password ($user, $newpassword) | |
| prevent_local_passwords () | |
| is_internal () | |
| can_change_password () | |
| change_password_url () | |
| can_reset_password () | |
| config_form ($config, $err, $user_fields) | |
| process_config ($config) | |
| auth_plugin_none | ( | ) |
Returns true if this authentication plugin can change the user's password.
Reimplemented from auth_plugin_base.
Returns true if plugin allows resetting of internal password.
Reimplemented from auth_plugin_base.
Returns the URL for changing the user's pw, or empty if the default can be used.
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.
| is_internal | ( | ) |
Returns true if this authentication plugin is 'internal'.
Reimplemented from auth_plugin_base.
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.
Reimplemented from auth_plugin_base.
| user_login | ( | $ | username, |
| $ | password | ||
| ) |
Returns true if the username and password work or don't exist and false if the user exists and the password is wrong.
| string | $username | The username |
| string | $password | The password |
Reimplemented from auth_plugin_base.
Definition at line 42 of file auth.php.

| user_update_password | ( | $ | user, |
| $ | newpassword | ||
| ) |
Updates the user's password.
called when the user password is updated.
| object | $user | User table object |
| string | $newpassword | Plaintext password |
Reimplemented from auth_plugin_base.
Definition at line 60 of file auth.php.
