I'm trying port a highly customized MediaWiki install to MindTouch. One of the custom extensions hooks into the logon process, checks the users against a special table with names and IPs and if the user is listed and the IP they're requesting from isn't, will abort the logon.

I would like to avoid writing an entire Authentication Provider just for this simple process. Is there a better way? Can I even pass the requester's IP to the provider?