Logs in to the Moodle site using the provided credentials and returns a fetch instance with authenticated cookies.
The base URL of the Moodle site.
The username of the user to log in.
The password of the user to log in.
A fetch instance with authenticated cookies.
An error if the login fails.
Generated using TypeDoc
Logs in to the Moodle site using the provided credentials and returns a fetch instance with authenticated cookies.