This is the external method validating a guest password.
More...
This is the external method validating a guest password.
- Since
- Moodle 4.3
- Copyright
- 2023 Juan Leyva juan@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ execute()
static enrol_guest\external\validate_password::execute |
( |
int | $instanceid, |
|
|
string | $password ) |
|
static |
Perform password validation.
If password is correct: keep it as user preference. If password is not correct: remove existing user preference (if any)
- Exceptions
-
- Parameters
-
int | $instanceid | instance id of guest enrolment plugin |
string | $password | the course password |
- Return values
-
stdClass | validation result info |
◆ execute_parameters()
static enrol_guest\external\validate_password::execute_parameters |
( |
| ) |
|
|
static |
Webservice parameters.
- Return values
-
external_function_parameters | |
◆ execute_returns()
static enrol_guest\external\validate_password::execute_returns |
( |
| ) |
|
|
static |
Describes the return information.
- Return values
-
external_single_structure | |
The documentation for this class was generated from the following file: