I'm reviewing this framework and was wondering if you had an example of an integration plugin using the User Auth API. The current documentation is , erh, light. :-)

Thanks in advance.

Comments

damiankloip’s picture

Ha, yes. Most of it is one the project page. There are also some test plugins. Do they help at all? If not, I'm happy to help if you have any questions.

imclean’s picture

Check user_auth_api_test.module. Step by step docs are light on but I'm about to dive into it.

Briefly, it looks like you need the following:

- hook_user_auth_api_info() to register the plugin (see also auth_user_api.api.php)
- The plugin class itself (see the project page or test examples)

Optionally:

- hook_user_auth_api_info_alter()

Adding a README.txt explaining the basic steps to integrate with this module would be very useful.