This plugin lets you enrol into a course using a token code. A token is a short alphanumeric text value that is hard to guess and easy to distribute. It can be single use, or multiple use, and have an expiry date. It features IP throttling to prevent the same token being used too many times in a given period.
This plugin is a rewrite and simplification of my previous token enrolment plugin avaliable at https://github.com/frumbert/moodle-token-enrolment. The database and main logic remains compatible.
Enrolment methods screen icons
- Include the plugin onto your site using the plugin installer, or put it into
/enrol/token
- Set your instance defaults during installation (use the help icons for explanations of each feature)
- Enable the enrolment method through Site Administration > Plugins > Enrolments
- On a course, enable Token enrolment
- Press the "+" button (Create Tokens) and create some token codes.
- Have a learner access the course. Enter a token code. They are now enrolled.
- Use the circle button (Manage tokens) to view tkens, usage or revoke individual tokens.
GPL3, as per Moodle