Harro Verton wrote on Wednesday 9th of November 2011:This site isn't written in FuelPHP, so that option is out the window as to providing examples for you.
Harro Verton wrote on Wednesday 9th of November 2011:I would opt for an auth driver that interacts with the backend authentication service. It allows you to use the rest of the Auth mechanism without having to do anything special.
Harro Verton wrote on Wednesday 9th of November 2011:From a functional point of view, the way the interface to the backend is developed is not relevant. Your driver will have the defined interface, for example create_user(). Your application just calls Auth::create_user(), your driver will make sure this happens in the backend, with whatever checks needed. Advantage of this approach is also that you can build and test your app using the local db driver, you are not dependent on the connection with the (production?) CRM system. Switching to the CRM backend is then only a matter of configuration your "CRM-backend" driver instead of the simpleauth driver...
It looks like you're new here. If you want to get involved, click one of these buttons!