Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
confirm_sesskey ($sesskey=NULL) | |
Check the sesskey and return true of false for whether it is valid. | |
get_moodle_cookie () | |
Gets a moodle cookie with a weakly encrypted username. | |
is_moodle_cookie_secure () | |
Determine wether the secure flag should be set on cookies. | |
require_sesskey () | |
Check the session key using confirm_sesskey(), and cause a fatal error if it does not match. | |
sesskey () | |
Makes sure that $USER->sesskey exists, if $USER itself exists. | |
set_moodle_cookie ($username) | |
Sets a moodle cookie with a weakly encrypted username. | |