I'm creating a block plugin that adds my ID verification/proctoring product to a course/quiz/etc and I'm not sure which ID would be best for me to use to uniquely identify the user/course combination.
For example, the course ID won't work, as multiple users could enrol in the same course. Similarly, the user id won't work, as a user can enrol in multiple courses. A combination of the user and course ID won't work, as the same user could take the same course more than once.
Does anyone have any suggestions?