by Olumuyiwa Taiwo.
Hi Tom,
You could start by looking at https://docs.moodle.org/dev/Authentication_plugins and https://docs.moodle.org/29/en/Authentication. You may also want to read the code of one of the core authentication plugins - the webservice one might be a good one in your case.