One of the most popular programming projects for Moodle is to integrate it with a third-party system. This chapter will cover the following topics:
Overview of Moodle authentication and enrollment systems
Creating user authentication plugins
Implementing Single Sign On (SSO)
Creating enrollment plugins
Before we dig into the programming, let's take a few minutes to better understand what Moodle provides out of the box. Often, we can use what's built-in to lessen or eliminate the need for new programming.
Moodle uses a plugin model for both its authentication and enrollment services. Authentication plugins are placed in the auth
folder and are intended to control user management, authentication, and Single Sign On. Enrollment plugins are placed in the enrol
folder and are intended to manage course enrollments or role assignments. Note that there is a gray area with both authentication and enrollment plugins. Each type...